Am exposing the Properties of a usercontrol like like this
public UpdatePanelUpdateMode UpdateMode
this.UpdatePanel1.UpdateMode = value;
And there are of them
and i went to the Hosting page we have a pic
for Example, in the Button Remove i have Finally something like this
Response.Redirect("SubjectStaff.aspx", false); //Refresh the Page again
I was Forcing a Postback and the Whole Page flickers, i want to Refresh only the UserControl.
i tried the Following instead of the above statement
Here am trying to call the name of the usercontrol first and then the Properties it exposes, but i only get the load and load1 event , it seems every is hiden now since i have taken the Control inside the Update Paanel in the User Control.
Can you Help me in that Regard
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
Re: How to Refresh the UserControl not the Whole Page In ASP.net
As far as I know there is no way to reload a particular part of any page without using some type of independent HTTP request such as Ajax or a Web Service. If you post back it will always reload the entire page because that is what a postback is. You are sending the entire form back to the service for some processing before the entire form is to be rendered again.
//set style properties for elements to be hidden
//set style properties for elements to be shown