Hi everybody,
i've a user control (ascx file) contains one button, when i click this button a modal popup should appear. This popup contains a gridview so i could select one record so the id of this record will store in a hidden control after that i click the ok button. i used this user control on a aspx page which have an empty textbox. What i want is when i select a record and click ok on the popup the textbox on the aspx page take the value of the hidden control in the ascx page.
i tried to make that but the ok button on the popup didn't make a postback so the value of the textbox didn't appear before i make a manualy refresh for the page and this's not a solution. and i tried to add a postback attribute for the ok button but when i did that the page totaly refreshed and i lost all the data in the aspx and the ascx. So how can i solve this problem ??
sorry for my english , i hope that i explained my problem clearly.
thanks alot for ur interest...