Advanced Forum Search Results
-
[quote user="Sriram Ramaswami"]
foreach(var item in rightsInformation)
{
if(item.Value==employeeId)
{
..........................
}
}
But the loop never executes even if both the values are the same, In my case, 3 letter initials("RSR"). When i debug the thing, i see RSR on both sides but the loop still does not ...
-
[quote user="magozeta"]
thanks for your reply.
Yes I know that I can do it but for many reason I must set in that position.
How can I do what I asked?
[/quote]
you have to add selection changed event handler so that you can show selected item in textblock. If you realy have to stick with the code then either you ...
-
Add selectionchanged event handler to child.gridView and assigne string there. below is the code.
child.gridView.SelectionChanged += new SelectionChangedEventHandler(grd_SelectionChanged);
void grd_SelectionChanged(object sender, SelectionChangedEventArgs e)
...
-
do you want nested scrollviewers? what is you exact requirement?
-
Here is code sample using constructor
var p = new System.Windows.Controls.Primitives.Popup();
p.Child = new Sample.Page1(p);
p.VerticalOffset = ...
-
Do you want to align a perticular row in data grid or all rows in grid should be right aligned?
-
If you have to use canvas and also want that child canvas is aligned to right, than you have to adjust that canvas left position in code. here is code sample that might help.
double ParentWidth= canParent.Width;
double ChildWidth = canChild.Width;
canChild.SetValue(Canvas.LeftProperty, ParentWidth-ChildWidth);
Mark as answer if it helped.
-
You can not open an aspx page as modal dialog from silverlight application. there are two ways to achive you gole.
1. In silverliught 3 you can make use of child window control which opens as popup dialog woith minimal code.( I recomend this approch if that aspx page is in your project domain)
2. another way to do so is by using javascript. Open ...
-
There is no such way to change some value which is defined in 'template style' from code behind as per my knowladge.
In this case you have to define mulitple styles for your buttons. But you can make better use of BasedOn style attribute to define ...
-
you are welcome :)