| <telerik:RadSplitter ID="rsEC" |
| runat="server" |
| Height="100%" |
| Width="100%" |
| Orientation="Horizontal" |
| ResizeWithParentPane="False" |
| ResizeWithBrowserWindow="True" |
| BorderSize="0" |
| VisibleDuringInit="False" |
| HeightOffset="16" |
| > |
| <telerik:radpane runat="server" id="aPane" Scrolling="None" Width="100%" Height="100%" CssClass="TabbedPage2" > |
| <telerik:RadTabStrip ID="tsC" |
| runat="server" |
| MultiPageID="mpC" |
| SelectedIndex="0" |
| Skin="Office2007" |
| width="100%" |
| CausesValidation="False" |
| > |
| <Tabs> |
| <telerik:RadTab ID="tab2" runat="server" PageViewID="pvPhone" Text="Phones" Value="Phone"> |
| </telerik:RadTab> |
| <telerik:RadTab ID="tab3" runat="server" PageViewID="pvEmail" Text="Emails" Value="Email"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="mpC" |
| runat="server" |
| CSSClass="TabbedContent" |
| SelectedIndex="0" |
| Height="100%"> |
| <telerik:RadPageView ID="pvPhone" runat="server" Height="100%"> |
| <div style="padding:7px; height:100%;"> |
| <telerik:RadSplitter ID="rsPL" |
| runat="server" |
| Height="100%" |
| Width="100%" |
| Orientation="Horizontal" |
| ResizeWithParentPane="False" |
| ResizeWithBrowserWindow="True" |
| BorderSize="0" |
| VisibleDuringInit="False" |
| HeightOffset="47" |
| > |
| <telerik:radpane runat="server" id="Radpane1" Scrolling="None" Width="100%" Height="37px"> |
| a toolbar |
| </telerik:radpane> |
| <telerik:radpane runat="server" id="bPane" Scrolling="None" Width="100%" Height="100%"> |
| Some content </telerik:radpane> |
| </telerik:RadSplitter> |
| </div> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pvEmail" runat="server" Height="100%"> |
| <div style="padding:7px; height:100%;"> |
| <telerik:RadSplitter ID="rsCIEC" |
| runat="server" |
| Height="100%" |
| Width="100%" |
| Orientation="Horizontal" |
| ResizeWithParentPane="False" |
| ResizeWithBrowserWindow="True" |
| BorderSize="0" |
| VisibleDuringInit="False" |
| HeightOffset="37" |
| > |
| <telerik:radpane runat="server" id="tbPane" Scrolling="None" Width="100%" Height="37px" |
| another toolbar |
| </telerik:radpane> |
| <telerik:radpane runat="server" id="bPane" Scrolling="None" Width="100%" Height="100%"> |
| more content |
| </telerik:radpane> |
| </telerik:RadSplitter> |
| </div> |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| </telerik:radpane> |
| </telerik:RadSplitter> |
Here is what I want my solution to do:
1) Grid loads unfiltered, shows list of deals with company information for each, one-to-many companies to deals, one row per deal.
2) User clicks "Add new record" button
a) Filter row is VISIBLE
b) Insert row is HIDDEN
3) User types in RadComboBox in filter row of company column to select company, tabs-out or hits enter
a) Filter row is HIDDEN
b) Insert row is VISIBLE
c) Grid filters to just those deal records for the company selected
d) 3 columns of info in Insert row prepopulate with company information
4) User enters info for remaining columns in Insert row, saves record
My solution is almost 100%, except for Step 2.
Your example at:
http://www.telerik.com/help/aspnet/grid/grdinsertingvaluesusercontrolformtemplate.html
under the section
"Setting predefined values for controls inside user control on item insertion"
does not work for me as-is because canceling the event does not allow the code to set the IsFilterItemExpanded to true.
Please tell me how I can satisfy step 2 as defined above, HIDING the Insert row and SHOWING the Filter row on InitInsert.
Thanks!
Code samples and screenshots to follow in responses.
Hi,
When i'm trying to resize any column in my radgrid my pager control is not displayed because the grid height is increased while resizing a column. i have checked below link with options 1. allow column resize and 2. No wrap for cell content.
http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx
when i'm resizing a column my filter row hieght also get increased and due to that pager control is not displayed.
i tried to give fixed height to filter row but it is not working out.
Please suggest some solution so that when i rezise any column in my grid it should not affect the size of the grid.
and my pagercontrol should display properly
thanks
sweta
