I have a RadDropDownTree. I populate it with a hierarchy from the database. I set the "SelectedValue" equal to whatever group an employee belongs to (based on database record).
So for example: DropDownTree loads and selects "bakery" based on it's ID in the db.
Store
-->cashier
-->bakery (selected)
-->maintenance
So now I click on "cashier" and hit update. On the server side, the DropDownTree.SelectedValue is still equal to the ID of the "bakery". Why is the change not being sent to the server side?
| <asp:ObjectDataSource ID="ObjectDataSource1" TypeName="MyNameSpace.DataAccessLayer.UserDataObject" |
| SelectMethod="Select" SelectCountMethod="SelectCount" EnablePaging="True" runat="server" |
| MaximumRowsParameterName="maximumRow" OldValuesParameterFormatString="original_{0}" |
| OnSelecting="ObjectDataSource1_Selecting" OnSelected="ObjectDataSource1_Selected"> |
| <SelectParameters> |
| <asp:Parameter Name="shopID" Type="Int32" /> |
| <asp:Parameter Name="filter" Type="String" /> |
| <asp:Parameter Name="sort" Type="Object" /> |
| <asp:Parameter Name="startRowIndex" Type="Int32" /> |
| <asp:Parameter Name="maximumRow" Type="Int32" /> |
| </SelectParameters> |
| </asp:ObjectDataSource> |
| protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e) |
| { |
| e.InputParameters["shopID"] = thisShop.ShopID; |
| e.InputParameters["filter"] = RadGrid1.MasterTableView.FilterExpression; |
| e.InputParameters["sort"] = RadGrid1.MasterTableView.SortExpressions.GetSortString(); |
| e.InputParameters["startRowIndex"] = RadGrid1.CurrentPageIndex*RadGrid1.PageSize; |
| e.InputParameters["maximumRow"] = RadGrid1.PageSize; |
| } |
Already I implemented custom sorting and custom paging with objectdatasource and database. Now I need to implement custom filtering in rad grid with objectdatasource and database.
Can you send me any sample solution?
hi,
i bind hmtlchart from dataset i want to display just the datetime wich is into dataset but in displaying it's apear an interval of datetime
in this pics you wille understanding me more and i use gridview to disply the data are in dataset plz help me i'm working in project and i need help quickly
Hi all,
Currently I am facing a problem regarding Radgrid Group Footer Dynamic calculation.
I have a radgrid that have some GridTemplateColumns that allow me to key in some value
Example
<telerik:GridTemplateColumn UniqueName="Quantity" HeaderText="Quantity" DataField="Quantity" Aggregate="Sum" >
<ItemTemplate>
<asp:TextBox ID="lbl_Quantity" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity" , "{0:0.00}") %>'
Width="40px" runat="server" autopostback="true" onTextChanged="calQuantity"></asp:TextBox>
<br />
</ItemTemplate>
</telerik:GridTemplateColumn>
<GroupByExpressions>
<telerik:GridGroupByExpression>
<GroupByFields>
<telerik:GridGroupByField FieldName="Grp"></telerik:GridGroupByField>
</GroupByFields>
<SelectFields>
<telerik:GridGroupByField FieldName="Grp" HeaderText="Week"></telerik:GridGroupByField>
</SelectFields>
</telerik:GridGroupByExpression>
Group Footer displayed correctly when the grid load. However, what I was trying to achieve is when I change the value of the quantity it will auto recalculate the group footer. I tried to achieve it using onTextChanged="calQuantity" but not success.
Do you all have any idea on this?
Thank you.
​

hi
is there any skin/easy way of implementing the tab strip in vertical mode , but having the text vertical too ?
Peter
Can I use RadAutoCompleteBox for completing the text I write (not selecting single or multiple items) and bind just the text property in design time?