.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Adding user created control in web browser control

Posted By: Dhilip.R     Posted Date: June 11, 2011    Points:5   Category :C#
Hi,

I've created a user control with progress bar and some label. Now I need to add that control into my web browser replacing an image after the progressbar progress finished I need to display the image again.

I'm new to C# web browser control. pls help

Thanks & Regards
Dhilip.R

Responses
Author: Ravishankar       [Moderator]      
Posted Date: June 12, 2011     Points: 20   

Hi Dhilip,

Please read the link to get your answer http://aspnetcsharp4.blogspot.com/2009/08/loading-user-control-dynamically-in-c.html

Hope it will solve your issue and give you start in development. :)

Ravishankar Singh
Author: Sasi Prabhu             
Posted Date: June 12, 2011     Points: 20   

try :

MyUserControl myControl = (MyUserControl) Page.LoadControl("MyUserControl.ascx");

Panel1.Controls.Add(myControl);

Panel1.DataBind();



Thanks & Regards,
Sasi Prabhu.
Author: Sasi Prabhu             
Posted Date: June 12, 2011     Points: 20   

try :

MyUserControl ctrl= (MyUserControl) Page.LoadControl("Controls.ascx");

pnl_Dynamic.Controls.Add(ctrl);

pnl_Dynamic.DataBind();



Thanks & Regards,
Sasi Prabhu.
Author: Gowthammanju             
Posted Date: June 12, 2011     Points: 20   

Hey try the attached document u may find solution



Download Attachment

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: June 12, 2011     Points: 20   

Hey ...

Keep in look at below attached document u may get some idea

Download Attachment

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Dhilip.R             
Posted Date: June 13, 2011     Points: 20   

Hi,Responds

I need to add a progress control to web browser control at run time and change the location of the control when the scroll bar appeared and scrolled . is there any way to do this.

Note: I need sample code or examples in Windows forms

Thanks & Regards
Dhilip.R

Author: Dhilip.R             
Posted Date: June 13, 2011     Points: 20   

l



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend