Advanced Forum Search Results
-
Ya if any other option is there to display the control directly. it will be really appreciable.
thanks in advance.
-
thanks mrjvdveen,
can u give an example here.
i can't Reduce the size of the data.because its dynamically created in code.
-
hi ,
i need to open an aspx page on a button click event in xaml page.and pass some value to the aspx page.
i have tried querystring like this.
HtmlPage.Window.Invoke("OpenWindow", "MyAsp.aspx?s=" + sHtml, 0, 0);
here sHtml contain some html code ,that i have to show in the aspx page.
its failed due to exceeding ...
-
try to use like this, try to bind datagrid with Observable collection
then in button clickObservableCollection<MyClass> GridData = (ObservableCollection<MyClass>)My DataGrid.ItemsSource;
MyClass c = sldgLanguage.SelectedItem as MyClass;
int rowid = Convert.ToInt32(c.iRowId);
------------------------------------
and in ...
-
Try Like This
<TextBox x:Name="CurrentAddress" MaxLength="200" Grid.Row="1" Grid.Column="1" TextWrapping="Wrap" AcceptsReturn="True" Width="250" Height="40" HorizontalAlignment="Left" VerticalAlignment="Top" ...
-
Ya Observable Collection Is the Best Option To Set Item Source in DataGrid.
Try Like This..
public ObservableCollection<ClientListCommon> ClientList = new ObservableCollection<ClientListCommon>();void multiSelectListServiceSoapClient_ClientListCompleted(object sender, ...
-
Hi Rahul
Try This
this.LayoutRoot.Children.Remove(MyDataGrid);
Mark As Answer if ThisHelps You
-
just put this code after setting itemsource of the datagrid.
just like this
myDataGrid.ItemsSource = MyObservableCollection;
myDataGrid.UpdateLayout();
myDataGrid.ScrollIntoView(MyObservableCollection[MyObservableCollection.Count - 1], myDataGrid.Columns[1]);
please Mark As Answer if This Helps You
-
Hi itmeagain123,
try this
MyDataGrid.ScrollIntoView(MyObservableCollection[MyObservableCollection.Count - 1], MyDataGrid.Columns[0]);
hope this will help you here 'MyObservableCollection' is the Observablecollection you attached to the datagrid as itemsource.
-
i have an Image Folder in my Silverlight Application it contains UserPhoto.png
i want to save the image in sql database(With Out Help of Open Dialog) based on some conditions
i tried stream reader to open thatStreamReader reader = new StreamReader(new FileStream(@"Images/UserPhoto.png", FileMode.Open, FileAccess.Read, ...