vuyiswam
May 20th, 2009, 01:29 AM
Good Morning
I have the Following User Control in the Pic "UserControl_Design_Mode.JPG" and i have the Following code to enable Partial Rendering
UserControl_Design_Mode.JPg
http://www.vbforums.com/attachment.php?attachmentid=71090&stc=1&d=1242799933
/*Enabling Partial */
[DefaultValueAttribute(true)]
[CategoryAttribute("Behavior")]
public bool EnablePartialRendering { get; set; }
Am exposing the Properties of a usercontrol like like this
public UpdatePanelUpdateMode UpdateMode
{
get
{
return this.UpdatePanel1.UpdateMode;
}
set
{
this.UpdatePanel1.UpdateMode = value;
}
}
And there are of them
and i went to the Hosting page we have a pic
http://www.vbforums.com/attachment.php?attachmentid=71091&stc=1&d=1242800293
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
http://www.vbforums.com/attachment.php?attachmentid=71092&stc=1&d=1242800630
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
Thanks
I have the Following User Control in the Pic "UserControl_Design_Mode.JPG" and i have the Following code to enable Partial Rendering
UserControl_Design_Mode.JPg
http://www.vbforums.com/attachment.php?attachmentid=71090&stc=1&d=1242799933
/*Enabling Partial */
[DefaultValueAttribute(true)]
[CategoryAttribute("Behavior")]
public bool EnablePartialRendering { get; set; }
Am exposing the Properties of a usercontrol like like this
public UpdatePanelUpdateMode UpdateMode
{
get
{
return this.UpdatePanel1.UpdateMode;
}
set
{
this.UpdatePanel1.UpdateMode = value;
}
}
And there are of them
and i went to the Hosting page we have a pic
http://www.vbforums.com/attachment.php?attachmentid=71091&stc=1&d=1242800293
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
http://www.vbforums.com/attachment.php?attachmentid=71092&stc=1&d=1242800630
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
Thanks