How can i clear the content page so that i will show blank instead of the previous page till the new page shows up?
Thank you for contacting Infragistics!
I have some questions concerning this matter:
How are you setting up the url initially?How/When are you changing it?
Thanks for the immediate response i really appreciate it .
So it displays the given url in the popup and i do some selections in the popup. I close the popup window after i do some events in pop up.
After closing if i open the pop up it shows page with previous window state 20 seconds or so then it refreshes with the default url state.
So here is the issue i dont want that previous state of the popup page but default state of the pop page.
setting up url initially
var ContentURl = "CreateEmp.aspx"; var oWnd = $find("oWindClientID"); oWnd.get_contentPane().set_contentUrl(ContentURl); oWnd.show();
var oWnd = this.parent.$find("oWindClientID") ; oWnd.hide();
When i open i again i call first set javscript code ( setting up url initially )
So second time when i open it should display only the default url page not page with previous changes.
Let me know if it is not clear.
Thank you for the update. What you can do is after you hide the window you can set the contentUrl to an empty string and this will blank the page:
It is not working.
I set one url (CreateEmp.aspx) in button1 click and show the window. then in second button click i set different url (CreateProduct.aspx) and show. When i click second button click. It shows the popwindow with content CreateEmp.aspx for few seconds and that it shows createProduct.aspx.
setting like this wdw.get_contentPane().set_contentUrl(""); Not working.
Setting the content url to an empty string worked in my sample. Do you have a sample that demonstrates the behavior you are seeing so I can investigate this matter further?