[Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method
Upcoming SlideShare
Loading in...5
×
 

[Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method

on

  • 195 views

[Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method ...

[Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method

http://developmentsimplyput.blogspot.com/2013/12/forcing-aspnet-control-to-go-through.html

You need to load a control inside a static method like a WebMethod and then make use of the control like binding it to a source and getting its generated HTML?? Good idea but you cannot do it that easy as the control instance you defined inside the static method is still not loaded because it did not go through its life cycle. You still want to do it, there is a way. To know how to do it you can read this article.

Statistics

Views

Total Views
195
Views on SlideShare
195
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    [Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method [Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method Presentation Transcript

    • Intentionally left empty
    • Intentionally left empty
    • [Development Simply Put] Forcing ASP.NET Control To Go Through Its Full Life Cycle On Static Method You need to load a control inside a static method like a WebMethod and then make use of the control like binding it to a source and getting its generated HTML?? Good idea but you cannot do it that easy as the control instance you defined inside the static method is still not loaded because it did not go through its life cycle. You still want to do it, there is a way. To know how to do it you can read this article. "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
    • Why? I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career days and day after day I got more confident that it's all about sharing not the title you have. I believe that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills and I found that the best way to learn is to try to teach what you already know. This makes you think of the best simplest way to explain complex logic which makes you spot some points may be even yourself didn't recognize in the first time. The greatest thing in the human mind is that it carries out too complicated operations and finally presents it into a simple form, so why do we always try to re-complicate things? This is what encouraged me to start my blog -Development Simply Put (http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT development and share my humble knowledge in this field. "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
    • Links Blog Link: http://developmentsimplyput.blogspot.com Facebook Page: https://www.facebook.com/DevelopmentSimplyPut Google+ Page: https://plus.google.com/115238148611061640682 LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295 RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default Android RSS App: http://www.appsgeyser.com/336849 Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356 Random Post: http://developmentsimplyput.blogspot.com/?random "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
    • Want To Offer Help? 1. Comment & provide feedback (liked, hated, good, bad, missing, ......) 2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-PutBlog-Survey) 3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356) 4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss) 5. Share blog links 6. Invite friends whom you think will be interested "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
    • About Me My Resume: LinkedIn: http://www.linkedin.com/in/atarekhasan Yatedo: http://www.yatedo.com/atarekhasan Zerply: http://zerply.com/ahmed-tarek-hasan/public Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan My Social Accounts: Facebook: https://www.facebook.com/ahmed.t.hasan Google+: https://plus.google.com/u/0/117461717174836938716 Twitter: https://twitter.com/AhmedTarekHasa1 StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes Pinterest: http://pinterest.com/ahmedtarekhasan "If you can't explain it simply, you don't understand it well enough" -Albert Einstein