Hi,
Creating Dyanmic Control from String and XML file.
Lets Starts Waseting any More Time
If donot Know About Silverlight knidly Go For
My Older Blogs
http://silverlight2pointzero.blogspot.com/2009/03/hello-world-for-silver-light-20.html
Requirement :-
VS2008
IIS
Silverlight
Step 1}
Creating To Simple Control On Xaml Page Which
Would Interact With Backend Code..
Step2 }
Creating The Method Which Would Create XAML
For Button From String
Step3 }
Now Adding Event Hadler to Dynamic Created
Control
Step 4 }
Know Adding Xml File
Which Also be used to Create
Dynamic Button
Step 5 }
Know Adding Code To Read From XML File
And Create Dynamic Button
Step 6}
Code Used In XML file
Step7 }
Out Put Of String Dynamic Xaml
Step8 }
Out Put Of XML File
Hope It Helps Some Body
U can Download The Code from Follwing link
http://www.mediafire.com/?ozhwygioyxy
Thursday, March 26, 2009
Saturday, March 21, 2009
Loading Dyanic Assembly And .Xap File
Hi,
Loading Assemby and .xap file in Your Silverlight Project.
U can dowload the code from Follwing Link
http://download.microsoft.com/download/4/2/e/42e8a266-e845-4929-b7e6-96a071d877dd/Sourcecode-SL-DynamicXap_csandvb.zip
and Video from follwing link
http://download.microsoft.com/download/7/4/7/7476d2cf-34e4-430d-9b27-46a813dd8f8b/WinVideo-SL-DynamicXap.zip
The Link Mention Contains good information Regarding the Dynamic Load of Asembly and .xap file in your Silverlight Application.
it also provides the search functionality for Datagrid in silverlight which would may come handly in secerio to create search fucntolaity for customers or client
Hope it helps
Loading Assemby and .xap file in Your Silverlight Project.
U can dowload the code from Follwing Link
http://download.microsoft.com/download/4/2/e/42e8a266-e845-4929-b7e6-96a071d877dd/Sourcecode-SL-DynamicXap_csandvb.zip
and Video from follwing link
http://download.microsoft.com/download/7/4/7/7476d2cf-34e4-430d-9b27-46a813dd8f8b/WinVideo-SL-DynamicXap.zip
The Link Mention Contains good information Regarding the Dynamic Load of Asembly and .xap file in your Silverlight Application.
it also provides the search functionality for Datagrid in silverlight which would may come handly in secerio to create search fucntolaity for customers or client
Hope it helps
Interacting Javascript From Aspx , Html To Silverlight and Vice Versa
Hi,
While Working With Silverlight I came Across the Problem of Interacting with .Xap or Silverlight File Using javascript and Interacting Javascript From Csharp code of Silverlight
It was Not Big I Feel That It very Usefull So i will Like To share Knoweldge
So lets Start..
I assume That U Know Silverlight At Least Hello World
if Not then u Can see The Code Here.. and Way to code for Simple Hello
World Program in Silverlight
http://silverlight2pointzero.blogspot.com/2009/03/hello-world-for-silver-light-20.html
Requirement
VS2008
IIS
Javascript
Lets Start
Setp1
Changing Color For Grid Control From White To
Yellow
Step2
Adding Button and Text Control on Html
Control on Aspx,or Asp or Html Page
Step3
Adding Name Space in Page Which Would make
Aceesable to html Conetent and To javascript
Step4
Now Adding Load Event with registration
of Name which Would be used in Javascript
Step5
Know Adding Event which is going to be added
into javascript
Step6
Adding Javascript Code in Page
of html,classic asp,html
Step7
Know Passing Data from Html page to Silverlight.
Step8
Seeing Data Which Had Been Send Data from Html
to Silverlight
Step 9
Know We will Pass Data from Silverlight
to Html javascript
Know Addding Event Handler to button
Step10
Code which Javascript is called from Silverlight
Step11
Know Managed Code used To call Javascript
from Html,Aspx,Classic Asp or html
Step12
Know Checking Out Put
of interaction of .xap file
(Silverlight) to Html
Page
This Complete the work of Using Javascript
U can Download The code from
http://www.mediafire.com/?maz2nkhz12a
Hope It Helps
While Working With Silverlight I came Across the Problem of Interacting with .Xap or Silverlight File Using javascript and Interacting Javascript From Csharp code of Silverlight
It was Not Big I Feel That It very Usefull So i will Like To share Knoweldge
So lets Start..
I assume That U Know Silverlight At Least Hello World
if Not then u Can see The Code Here.. and Way to code for Simple Hello
World Program in Silverlight
http://silverlight2pointzero.blogspot.com/2009/03/hello-world-for-silver-light-20.html
Requirement
VS2008
IIS
Javascript
Lets Start
Setp1
Changing Color For Grid Control From White To
Yellow
Step2
Adding Button and Text Control on Html
Control on Aspx,or Asp or Html Page
Step3
Adding Name Space in Page Which Would make
Aceesable to html Conetent and To javascript
Step4
Now Adding Load Event with registration
of Name which Would be used in Javascript
Step5
Know Adding Event which is going to be added
into javascript
Step6
Adding Javascript Code in Page
of html,classic asp,html
Step7
Know Passing Data from Html page to Silverlight.
Step8
Seeing Data Which Had Been Send Data from Html
to Silverlight
Step 9
Know We will Pass Data from Silverlight
to Html javascript
Know Addding Event Handler to button
Step10
Code which Javascript is called from Silverlight
Step11
Know Managed Code used To call Javascript
from Html,Aspx,Classic Asp or html
Step12
Know Checking Out Put
of interaction of .xap file
(Silverlight) to Html
Page
This Complete the work of Using Javascript
U can Download The code from
http://www.mediafire.com/?maz2nkhz12a
Hope It Helps
Friday, March 20, 2009
Changing Pages In Silverlight
Hi,
Today I going Create Blogg Regarding Redirecdict The Page from Silverlight Page To another Silverlight page Internally In Silverlight..
There may be many ways But I using Which I Feel is Fine For me..
Know Lets Start..
Requirement :
IIS
VS2008 Sp1
And as Usual Slight Bit of Interest
Lets Start..
In this Blog I am Going To start from The Main Point Sand Step Requirement and Topic Related to Blog I assume that U have Read My Hello World Blog which Link is mention Below
http://silverlight2pointzero.blogspot.com/2009/03/hello-world-for-silver-light-20.html
Step : 1
Once U have added page U have Another page
and Modify the Page and Use Expression Blend
and How Do shown in Page
Step : 2
Once U have Clicked Open In Experession
Blend
Step: 3
Adding New Page In Expression Blend
Step : 4
Adding Text In Label In Expression
Blend
Step: 5
Adding Code in Page_switcher Which
would Redirect the page which had been
Requested
Step : 6
Adding Event Handler On Button
So when User Click It Get Response.
Step: 7
Know Adding Code To Redirect or
Switch Page To Other Code.
Step: 8
Know Removing Uwamted Refernce from the
Project
Step: 9
Modifying App.xaml for Setting Were the page would
Go and who and ehich page it should Go
Step:10
Run The Code and See the Execution
Hope It would be Help Full
and U can Download The Source Code From Follwing
Link Below..
http://www.mediafire.com/?mgt2itymmzt
http://www.mediafire.com/file/mgt2itymmzt/PageTransfer.rar
Today I going Create Blogg Regarding Redirecdict The Page from Silverlight Page To another Silverlight page Internally In Silverlight..
There may be many ways But I using Which I Feel is Fine For me..
Know Lets Start..
Requirement :
IIS
VS2008 Sp1
And as Usual Slight Bit of Interest
Lets Start..
In this Blog I am Going To start from The Main Point Sand Step Requirement and Topic Related to Blog I assume that U have Read My Hello World Blog which Link is mention Below
http://silverlight2pointzero.blogspot.com/2009/03/hello-world-for-silver-light-20.html
Step : 1
Once U have added page U have Another page
and Modify the Page and Use Expression Blend
and How Do shown in Page
Step : 2
Once U have Clicked Open In Experession
Blend
Step: 3
Adding New Page In Expression Blend
Step : 4
Adding Text In Label In Expression
Blend
Step: 5
Adding Code in Page_switcher Which
would Redirect the page which had been
Requested
Step : 6
Adding Event Handler On Button
So when User Click It Get Response.
Step: 7
Know Adding Code To Redirect or
Switch Page To Other Code.
Step: 8
Know Removing Uwamted Refernce from the
Project
Step: 9
Modifying App.xaml for Setting Were the page would
Go and who and ehich page it should Go
Step:10
Run The Code and See the Execution
Hope It would be Help Full
and U can Download The Source Code From Follwing
Link Below..
http://www.mediafire.com/?mgt2itymmzt
http://www.mediafire.com/file/mgt2itymmzt/PageTransfer.rar
Wednesday, March 18, 2009
Finding Silverlight is There On Client Or Not In SilverLight2.0
Hi, Few days While Going Through the some Old Code I just came across How To dectect That Client is Silverlight Enabled Or Not..In old days Of Silverlight of 1.0 there were Hell Lot of Umanged Code of Javascript (they were Not bad but Quite Confusing). Know I will Let U know Step By Step How To Detect Client About SilverLight Enabled or Not .. LETS Start Requirement:-
Vsstudio Sp1
IIS
Windows XP(Which I am Using)
and Last Most Important Thing (BIT OF INTEREST)
STEP 1
Goto --> File -->SilverLight Application
Step2
Selecting Website While Creating Silverlight
Project
Step3
Now Disabling (Silverlight)Addons and Step By Step
Which Would Give The feel of Your Computer is
Not having Silverlight and You Can test The code..
In
Internet Explore(7) --> Tools --> Manage Addon
Step4
Now Moving to
Internet Explore(7) --> Tools --> Manage Addon -->Enable Disable Addon
Step 5
Know Searching Microsoft Silverlight for Disabling
Step 6
Disabling Microsoft Silverlight Addon
Step 7
Now if U will Run the Silverlight what u will See
Step 8
Adding Code Behind in Aspx File To hadle Such siutaion.
In Html Page U have to Just Modify the place
were Microsoft Image Path is Given with
Your Custome Message and Images.
Step 9
Know After Modification The Message and Modifciation U see
Step 10
Once u have Enabled or Installed The
Silverlight U will Get The Follwing
OutPut
U can Download The Source Code From Follwing Link
http://www.mediafire.com/?hi144eq1ijk
Hope It Helps Some Body
Sunday, March 8, 2009
Hello World For Silver Light 2.0
Hi,
This Blog is About Very Simple Hello World in Silverlight 2.0..
When I was Introducted To Silverlight 2.0 I was SHOCKED...
I was Totally Different from Silverlight 1.0....
I was More on Inline(Or Traditonal coding of Dotnet ) Or Manged Code
Know I will Tell Step By Step Creating HELLO WORLD IN SILVER LIGHT 2.0
SO Lets Start..
1} Requirement
VS2008
Then U have To Install SP1 of VS 2008
Download VS2008 SP1 from here
http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en
2} Lets Start...............
Step 1} After Installtion
Goto New Project -> U will See Silverlight Template -> Select SilverLight Application
-->Name It HelloWord
Step 2} When Click Ok U will See The Follwing Screen..
Select Setting As U want .. I Prefer To Add Web Application
It Makes Testing easy....
3} If U Follwed The Step U will See The Follwing Thing In Solution Explorer
4} Know Selecting Button For Silverlight Form
5} Know Adding Button On XAML Form Of Silverlight
6} Know Adding Code Behind To Click Event Code Bheind
For Message Box
7} Once U Comnplie The Project U will see
in Solution Explore .xap File Added
8} Know Seeing The Output...
This Very simple Hello World...
Hope It Help Somebody..
This Blog is About Very Simple Hello World in Silverlight 2.0..
When I was Introducted To Silverlight 2.0 I was SHOCKED...
I was Totally Different from Silverlight 1.0....
I was More on Inline(Or Traditonal coding of Dotnet ) Or Manged Code
Know I will Tell Step By Step Creating HELLO WORLD IN SILVER LIGHT 2.0
SO Lets Start..
1} Requirement
VS2008
Then U have To Install SP1 of VS 2008
Download VS2008 SP1 from here
http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en
2} Lets Start...............
Step 1} After Installtion
Goto New Project -> U will See Silverlight Template -> Select SilverLight Application
-->Name It HelloWord
Step 2} When Click Ok U will See The Follwing Screen..
Select Setting As U want .. I Prefer To Add Web Application
It Makes Testing easy....
3} If U Follwed The Step U will See The Follwing Thing In Solution Explorer
4} Know Selecting Button For Silverlight Form
5} Know Adding Button On XAML Form Of Silverlight
6} Know Adding Code Behind To Click Event Code Bheind
For Message Box
7} Once U Comnplie The Project U will see
in Solution Explore .xap File Added
8} Know Seeing The Output...
This Very simple Hello World...
Hope It Help Somebody..
Subscribe to:
Posts (Atom)