Advanced Forum Search Results
-
Hi,Could someone tell me how to call a javascript function(defined in an aspx page that is NOT testpage.aspx or testpage.html) from silverlight code-behind. When I use HtmlPage.Window.Invoke("LoadFromSilverlight", "Hello world");
I get an exception saying "Failed to invoke LoadFromSilverlight". The aspx ...
-
Hi Sasideva,
Thanks for your reply but what I need is a way to define a data-template for a GRID, as in, the layout control. I then need a way to apply this template to each cell in the xaml.
-
Hi,
1. I need to apply a datatemplate (declared in xaml) to a grid(layout control) cell. I've declared the data template but which property of the cell/grid should i apply this template to? For example for a listbox item, we have the itemscontainerstyle. What is the corresponding equiv. for a ...
-
Hi,
I've defined a style for a listboxitem in xaml and i need to apply this style in codebehind. This is what I've tried:
xaml:
<UserControl.Resources>
<Style TargetType="ListBoxItem" x:Key="draggableItemStyle">
<Setter Property="HorizontalAlignment" Value="Stretch" ...
-
Thanks for your reply.
In that case, is there any control that would give the same effect? I've taken a look at the silverlight 3 toolkit but havent made any headway. Any pointers would really be great.
Regards,
-
Hi,
Is there a way to change the orientation of the gridview to horizontal so that instead of scrolling down to see more records, the user scrolls horizontally?
Any help would really be appreciated.
Regards,
-
Hi,
Not sure if this is the right forum for this question but is there a way to extract the numeric characters that have been entered by the user in a telerik masked textbox?
Thanks for any suggestions
-
Hi,
Is it possible to get the path of an image after the image has been displayed? Actually I'm trying to get the path of the selected image in a coverflow. Upltil now all i've done is:
Image img = (Image)CoverFlow_After.SelectedItem;
but i can't get how to extract the original path that img was set to. Any ideas ...
-
Hi,
Is there a way in a combobox to search for an item based on a search string and then select that item? I tried doing the following but it doesnt seem to work:
cmb.SelectedItem = Somestring
where somestring is one of the strings in the combobox
-
This is my code:
[ServiceKnownType(typeof(Bitmap))]
Interface IService
OperationContract]
Bitmap GetPhoto(int iPhoto_ID);
------------------------------------------
[KnownType(typeof(Bitmap))]
class Implelentation:IService{
public Bitmap GetPhoto(){
Bitmap bmp= businessLogic.GetPhoto(iPhoto_ID);
return ...