Are we sure the Textbox control won't take a mask character value for just such a purpose? I really hope there is something for a password textbox, them implementation I'm using in my beta 1 app is just a bit sloppy.
There is nothing like that in Beta 2 documentation.
It is still a beta for a reason...
Bill, yes, but the roadmap says:
5. What would be the full and final set of controls that are expected to be included with Silverlight 2 - final release?
The controls in Beta 2 will be the full set in the final release. You will be able to see that once Beta 2 comes out.
7. Is there going to be a big difference in terms of features/component model etc. in Silverlight 2 beta and final release (just like it is the case with 1.1 Alpha and 2.0 Beta)?
There will be breaking changes between Beta 1 and Beta2 of Silverlight 2 but the changes will not be drastic between Beta2 and Final Release. You can expect almost similar feature set as with Beta2 which is expected to come out in the Month of May 2008.
So there is almost no hope for a combo-box or a password text-box...
I can say something. Dropdown list is available in SL 2. I have created a dropdown list by adding the reference of liquid.dll to the silverlight project. Its free dll. After adding reference include xmlns:liquid="clr-namespace:Liquid;assembly=Liquid" to the xaml file and use the fillowing code:
<liquid:DropDownList x:Name="drpApp" Width="195" Height="23" Canvas.Top="5" Canvas.Left="415" ItemSelected="drpApp_ItemSelected"> <liquid:DropDownList.Items> <liquid:ListItem Key="1" Value="Option 1" /> <liquid:ListItem Key="2" Value="Option 2" /> <liquid:ListItem Key="3" Value="Option 3" /> <liquid:ListItem Key="4" Value="Option 4" /> </liquid:DropDownList.Items> </liquid:DropDownList>
I can't wait either. So I wrote one just so I can have something to use now. You can check out this code if you want:
Telerik is currently working on a CombBox control, but it is still in development. As a workaround you can use their menu which can easily become a read-only combobox
i have added Liquid.dll in my project and craeted a dropdown list but at run time i m geting an error
"Could not load file or assembly 'Liquid, Version=184.108.40.20650, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
please tell me how to resolve this error.
I tried using the combo box control that you have written.
I built the assembly and added as reference.
Then created the Cities list and bind it to the combo box. I was not able to see the combo box.
Was just seeing some static text in place of combo box and it crashes when i click on the text in the function
Do you have a sample plain app where you integrated this combo box? Am i missing anything?
If you downloaded the code, you should have two projects under the solution. Set the SilverlightComboboxWeb as start project, SilverlightComboBoxTestPage.html as start page. Just hit f5 you should run the sample page I put together. It should have two dropdown lists on that page. That is the sample app. Page.Xaml is the start page.
If not working, just try to remove Silverlight link from the web project and re-add it back.
I did see there are two projects.
I wanted to use this drop down in my app in Page.xaml.
So i tried adding the silverlightcombobox.dll as a reference and creating the combobox control in my page.xaml.
It was giving a static text as display output which i mentioned previously.
The other thing that i tried was to copy the combobox.cs, combobox.cs, position.cs, generic.xaml and app.xaml into my new proj.
And tried the above mentioned steps to add the control. The result was same. So i was checking how to reuse your control in separate page.xaml?
Yes, check the Page.Xaml. Copy the xaml from my Page.xaml to your page.You can just add silverlightcombobox project to your silverlight project references. If you make my silverlightcombobox as a library dll, you need to take off the App.xaml, but you need to first copy the App.xaml styles definition to your Silverlight project app.xaml. Otherwise, you are missing some styles.
I took the dll(Liquid.dll). using that im working with RichTextbox. RichTextBox1.Text= str; where str contains this text.
<div class=ExternalClass1BFED6FA30964C1FA9A58F79197A95CC><p>The Microsoft .NET Framework is an integrated and managed environment for the development and execution of your code. This lesson is an introduction to the .NET Framework, the philosophy behind it, and how it works.</p> <p>After this lesson, you will be able to<img style="width:92px;height:48px" height=72 alt="" src="/sites/DeeptiSite/Pictures/blue.jpg" width=117><br>• Describe the elements of the .NET Framework<br>• Describe the parts of an assembly and identify what is contained in each part<br>• Describe how a .NET application is compiled and executed<br>Estimated lesson time: 20 minutes<br>Overview of the .NET Framework<br></p></div>
But finally it should display like this (in RichTexBox)
The Microsoft .NET Framework is an integrated and managed environment for the development and execution of your code. This lesson is an introduction to the .NET Framework, the philosophy behind it, and how it works.
After this lesson, you will be able to
• Describe the elements of the .NET Framework
• Describe the parts of an assembly and identify what is contained in each part
• Describe how a .NET application is compiled and executed
Estimated lesson time: 20 minutes
Overview of the .NET Framework