Last post Jan 01, 2012 03:50 AM by Ruchira
Jan 01, 2012 03:32 AM|mahesh.desilva.sl|LINK
I have an iframe withing Div container and Div opened with jQuery UI dialog. I need to pass few varibales to src tag in the iframe and did it following way.
src="page.aspx?id=<%=somevariable %> " Note: somevariable is page level public variable.
For some reason , query string does not contain the "id"value. Can any one point out the issue ? ( I can do this in code behind , however, I need to do it in page level itself )
Jan 01, 2012 03:50 AM|Ruchira|LINK
Is there a value for the somevariable in code behind? If so, where are you setting it? You must set it inside the Page_Load method so then only it will be available when you are accessing like this. Also share your code behind please.
My Tech blog | My YouTube Channel