or
Point position =
new
Point();
if
(!richTextBox.Document.CaretPosition.Location.IsEmpty)
{
position = richTextBox.ActiveEditorPresenter.GetViewPointFromDocumentPosition(richTextBox.Document.CaretPosition);
position.Offset(offsetX, offsetY);
return
position;
}
Hii everybody,
Is There Any posibility to do CRUD operations with gridview control,Here the data is coming from excel sheet.when am uploding the file to grid view control i want to do CRUD operations over the grid view control.I dont know how many number of columns in excel sheet.i mean "Auto generate Columns='true'".
Is it Possible.Can any one can help me in coding?.I have an assignment.
Thanks in advance.
regards,
ANIL
<
telerik:RadGridView
Margin
=
"0"
AlternationCount
=
"2"
AlternateRowBackground
=
"#d7e8ff"
AreRowDetailsFrozen
=
"True"
AutoGenerateColumns
=
"False"
CanUserFreezeColumns
=
"False"
IsReadOnly
=
"True"
ItemsSource
=
"{Binding}"
SelectionMode
=
"Single"
ShowInsertRow
=
"False"
RowHeight
=
"30"
RowIndicatorVisibility
=
"Collapsed"
telerik:StyleManager.Theme
=
"Office_Blue"
x:Name
=
"Listing"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"ID"
DataMemberBinding
=
"{Binding Path=vis_ID}"
IsVisible
=
"False"
Footer
=
"Test"
/>
<
telerik:GridViewDataColumn
Header
=
"{Binding [str_gridview_lastname]}"
MinWidth
=
"150"
DataMemberBinding
=
"{Binding Path=vis_lastname}"
></
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
// Bind datatable to populate grid
Listing.DataContext = myDataTable;
// Bind column header text properties
Listing.DataContext = myColHeaderTable;
this.informationLayer.Reader = new MapShapeReader();
this.informationLayer.Reader.Source = new Uri("/Silverlight.Help.RadMapSamples;component/Data/bulgaria.kml",UriKind.RelativeOrAbsolute )
But, there is no the "Source" property in "Reader.Source" ... How to do it???