Click here to Skip to main content
15,905,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
here is my problem!
I am new to Silverlight and I didn't see the Page_Load event in the Silverlight, and IsPostback. I want to bind the dropdown and grids while page is load how can I do in Silverlight.
Posted
Updated 3-May-11 1:47am
v2

You need to read about Silverlight before jumping directly to code for it.
There is no pageload or IsPostback in it. Look for XAML pages (App.xaml)

Read about basics of Silverlight here: An Introduction to Silverlight[^]

For examples and samples look here: Google result for Silverlight[^]

Try!
 
Share this answer
 
Comments
#realJSOP 3-May-11 7:48am    
5 - proposed as answer
There is no IsPostback in Silverlight.
You can do binding at design or at runtime (for controls). You have a control on Load method that you can use to do this.
 
Share this answer
 
You can't see by default.

Add the load event in RootLayout

<grid x:name="LayoutRoot" loaded="LayoutRoot_Loaded" mode="hold" xmlns:x="#unknown">
Now you can the event LayoutRoot_Loaded in code window...

Senthil,
www.senthil.name
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900