Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
447 views

Hello,

I am using the RadTooltip in a RadTreeNode template to display data associated with each node in the tooltip. The length of the text will be different for each node. I am hoping to get the following behavior:

  • Be able to set a maximum height for the tooltip
  • Have the tooltip automatically size the height based on content unless that maximum height is exceeded.
  • If that height is exceeded, set the height of the tootip to the maximum and a add vertical scrollbar so all content can be scrolled to.

 

Can you let me know if this is possible?

Thanks, Craig

Svetlina Anati
Telerik team
 answered on 02 May 2011
1 answer
51 views
Hi All,
I'm not sure how many people are familiar with the nyromodal jquery plugin, but I'm using one on my site with a radmenu.
The problem is when the nyromodal box opens, the entire screen goes dark into a theatre mode except for the radmenu.
Is there a property I need to set or something I can do to make it perform the same way?
Thanks,
Aaron
Veronica
Telerik team
 answered on 02 May 2011
1 answer
156 views
I'm trying to use the Selenium WebDriver for Chrome to upload a file via the RadUpload control.

I cannot seem drive the interface when chrome pops up the select file box.  Are they any examples of this ?

Can I simulate the selection by populating any elements behind the scenes ?

Cheers..

Robert
Helen
Telerik team
 answered on 02 May 2011
1 answer
155 views
In my i set Mandatory fields
textbox value empty .
does't close the popup window.
one of the other form i work that forms popup window never closed.this forms is one grid
but here code form is two radgrid


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewModels.aspx.cs" Inherits="TBS_HelpDesk.Views.Assets.NewModels"
    MasterPageFile="~/Views/Shared/MasterPage.Master" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadCodeBlock runat="server" ID="radCodeBlock">
        <script type="text/javascript">
            function onToolBarClientButtonClicking(sender, args) {
                var grid = $find("<%=RadGrid2.ClientID %>");
                debugger;
                var comandName = args.get_item().get_commandName();
                if (comandName == "Filter") {
                    if (grid.get_masterTableView().get_isFilterItemVisible()) {
                        grid.get_masterTableView().hideFilterItem();
                    }
                    else {
                        grid.get_masterTableView().showFilterItem();
                    }
                }
            }
            function onToolBarClientButtonClickingMan(sender, args) {
                var grid = $find("<%=RadGrid1.ClientID %>");
                debugger;
                var comandName = args.get_item().get_commandName();
                if (comandName == "Filter1") {
                    if (grid.get_masterTableView().get_isFilterItemVisible()) {
                        grid.get_masterTableView().hideFilterItem();
                    }
                    else {
                        grid.get_masterTableView().showFilterItem();
                    }
                }
            }

            function getOuterHTML(obj) {
                if (typeof (obj.outerHTML) == "undefined") {
                    var divWrapper = document.createElement("div");
                    var copyOb = obj.cloneNode(true);
                    divWrapper.appendChild(copyOb);
                    return divWrapper.innerHTML
                }
                else
                    return obj.outerHTML;
            }
            function PrintRadGrid() {
                var previewWnd = window.open('about:blank', '', '', false);
                var sh = '<%= ClientScript.GetWebResourceUrl(RadGrid1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",RadGrid1.Skin)) %>';
                var shBase = '<%= ClientScript.GetWebResourceUrl(RadGrid1.GetType(),"Telerik.Web.UI.Skins.Grid.css") %>';
                var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link>";
                styleStr += "<link href = '" + shBase + "' rel='stylesheet' type='text/css'></link></head>";
                var htmlcontent = styleStr + "<body>" + getOuterHTML($find('<%= RadGrid1.ClientID %>').get_element()) + "</body></html>";
                previewWnd.document.open();
                previewWnd.document.write(htmlcontent);
                previewWnd.document.close();
                previewWnd.print();
                previewWnd.close(); // working

            }
        </script>
    </telerik:RadCodeBlock>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelHeight="" />
                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" UpdatePanelHeight="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" UpdatePanelHeight="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <table border="0">
        <tr>
            <td valign="top" style="width: 250px">
                <telerik:RadGrid runat="server" ID="RadGrid1" CellPadding="0" GridLines="None" AutoGenerateColumns="False"
                    AllowPaging="True" AllowSorting="true" AllowFilteringByColumn="true" OnNeedDataSource="RadGrid1_NeedDataSource"
                    OnItemCommand="RadGrid1_ItemCommand" Skin="Vista" Height="300px">
                    <MasterTableView DataKeyNames="Manuf_ID" CommandItemDisplay="Top" EditFormSettings-PopUpSettings-Modal="true"
                        EditMode="PopUp" IsFilterItemExpanded="false">
                        <CommandItemTemplate>
                            <telerik:RadToolBar ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick" runat="server"
                                OnClientButtonClicking="onToolBarClientButtonClickingMan">
                                <Items>
                                    <telerik:RadToolBarButton Text="Add new" CommandName="InitInsert" ImageUrl="../../images/AddRecord.gif"
                                        Visible='<%# !RadGrid1.MasterTableView.IsItemInserted %>'>
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Filter" CommandName="Filter1" ImageUrl="../../images/Filter 3.gif">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Print" CommandName="Print" onclick="PrintRadGrid()">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Refresh" CommandName="RebindGrid" ImageUrl="../../images/Refresh.gif">
                                    </telerik:RadToolBarButton>
                                </Items>
                            </telerik:RadToolBar>
                        </CommandItemTemplate>
                        <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                        <Columns>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="10px" />
                            <telerik:GridBoundColumn DataField="Manuf_ID" DataType="System.Int32" HeaderText="Manuf ID"
                                SortExpression="Manuf_ID" UniqueName="Manuf_ID" Visible="false" ReadOnly="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Manuf_Name" HeaderText="Manufacturer Name" SortExpression="Manuf_Name"
                                UniqueName="Manuf_Name" HeaderStyle-Width="120px">
                                <HeaderStyle Width="120px"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Manuf_Description" HeaderText="Manuf Description"
                                SortExpression="Manuf_Description" UniqueName="Manuf_Description" HeaderStyle-Width="150px"
                                Visible="false">
                                <HeaderStyle Width="150px"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridCheckBoxColumn DataField="Manuf_Inactive" DataType="System.Boolean"
                                HeaderText="Inactive" SortExpression="Manuf_Inactive" UniqueName="Manuf_Inactive"
                                FilterControlWidth="30px" HeaderStyle-Width="100px" Visible="false">
                                <HeaderStyle Width="100px"></HeaderStyle>
                            </telerik:GridCheckBoxColumn>
                            <telerik:GridBoundColumn DataField="Manuf_Inactive" DataType="System.Boolean" HeaderText="Inactive"
                                SortExpression="Manuf_Inactive" FilterControlWidth="30px" HeaderStyle-Width="100px"
                                ReadOnly="true" Visible="false">
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn CommandName="Delete" ButtonType="ImageButton" UniqueName="DeleteColumn"
                                CommandArgument="Child" ConfirmDialogType="RadWindow" ConfirmText="Are You Sure Want To Delete This Record?"
                                ConfirmTitle="Delete Confirm" HeaderStyle-Width="10px" />
                        </Columns>
                        <EditFormSettings CaptionFormatString="Create" EditFormType="Template">
                            <EditColumn UniqueName="EditCommandColumn1">
                            </EditColumn>
                            <FormTemplate>
                                <div style="margin-left: 15px;">
                                    <table>
                                        <tr>
                                            <td style="height: 75px; width: 400px;">
                                                <table style="float: right;">
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*" Width="1px"></asp:Label>
                                                            <asp:Label ID="Label2" Text="Mandatory Field(s)" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <fieldset>
                                                    <legend style="margin-bottom: 10px">Manufactere</legend>
                                                    <table cellspacing="2" cellpadding="1" width="100%" border="0">
                                                        <tr>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Manuf_ID" AutoCompleteType="Disabled" runat="server"
                                                                    Text='<%# Bind("Manuf_ID") %>' Visible="false"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">
                                                                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*" Width="1px"></asp:Label>
                                                                Name :
                                                            </td>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Manuf_Name" AutoCompleteType="Disabled" runat="server"
                                                                    Text='<%# Bind("Manuf_Name") %>'></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td valign="top" align="right">
                                                                Description :
                                                            </td>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Manuf_Description" AutoCompleteType="Disabled" runat="server"
                                                                    TextMode="MultiLine" Height="100px" Text='<%# Bind("Manuf_Description") %>'></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">
                                                                Inactive :
                                                            </td>
                                                            <td>
                                                                <asp:CheckBox Width="200px" ID="Manuf_Inactive" AutoCompleteType="Disabled" runat="server"
                                                                    Text='<%# Bind("Manuf_Inactive") %>' />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="Button3" runat="server" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                                    CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                                                </asp:Button>
                                                <asp:Button ID="Button4" runat="server" Text="Cancel" CausesValidation="false" CommandName="Cancel">
                                                </asp:Button>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </FormTemplate>
                            <PopUpSettings Modal="True"></PopUpSettings>
                        </EditFormSettings>
                        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                    </MasterTableView>
                    <ClientSettings EnablePostBackOnRowClick="true">
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                </telerik:RadGrid>
            </td>
            <td valign="top" style="width: 100px">
            </td>
            <td valign="middle" style="width: 250px">
                <table>
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="ModelText"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <telerik:RadGrid runat="server" ID="RadGrid2" CellPadding="0" GridLines="None" AutoGenerateColumns="False"
                    AllowPaging="True" AllowSorting="true" Skin="Office2007" AllowFilteringByColumn="true"
                    OnItemCommand="RadGrid2_ItemCommand" OnNeedDataSource="RadGrid2_NeedDataSource">
                    <MasterTableView CommandItemDisplay="Top" EditFormSettings-PopUpSettings-Modal="true"
                        EditMode="PopUp" IsFilterItemExpanded="false">
                        <CommandItemTemplate>
                            <telerik:RadToolBar ID="RadToolBar2" OnButtonClick="RadToolBar2_ButtonClick" runat="server"
                                OnClientButtonClicking="onToolBarClientButtonClicking">
                                <Items>
                                    <telerik:RadToolBarButton Text="Add new" CommandName="InitInsert" ImageUrl="../../images/AddRecord.gif"
                                        Visible='<%# !RadGrid2.MasterTableView.IsItemInserted %>'>
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Filter" CommandName="Filter" ImageUrl="../../images/Filter 3.gif">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Print" CommandName="Print" onclick="PrintRadGrid()">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Refresh" CommandName="RebindGrid" ImageUrl="../../images/Refresh.gif">
                                    </telerik:RadToolBarButton>
                                </Items>
                            </telerik:RadToolBar>
                        </CommandItemTemplate>
                        <PagerStyle BackColor="#D8EBFC" Mode="NextPrevNumericAndAdvanced" />
                        <Columns>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="10px" />
                            <telerik:GridNumericColumn DataField="Model_ID" HeaderText="Id" SortExpression="Model_ID"
                                UniqueName="Model_ID" Visible="false" ReadOnly="true">
                            </telerik:GridNumericColumn>
                            <telerik:GridBoundColumn DataField="Model_Name" HeaderText="Model Name" SortExpression="Model_Name"
                                UniqueName="Model_Name" HeaderStyle-Width="100px">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Model_Description" HeaderText="Description" SortExpression="Model_Description"
                                UniqueName="Model_Description" HeaderStyle-Width="300px" Visible="false">
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn CommandName="Delete" ButtonType="ImageButton" UniqueName="DeleteColumn"
                                CommandArgument="Child" ConfirmDialogType="RadWindow" ConfirmText="Are You Sure Want To Delete This Record?"
                                ConfirmTitle="Delete Confirm" HeaderStyle-Width="10px" />
                        </Columns>
                        <EditFormSettings CaptionFormatString="Create" EditFormType="Template">
                            <EditColumn UniqueName="EditCommandColumn1">
                            </EditColumn>
                            <FormTemplate>
                                <div style="margin-left: 15px;">
                                    <table>
                                        <tr>
                                            <td style="height: 75px; width: 400px;">
                                                <table style="float: right;">
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*" Width="1px"></asp:Label>
                                                            <asp:Label ID="Label2" Text="Mandatory Field(s)" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <fieldset>
                                                    <legend style="margin-bottom: 10px">Model</legend>
                                                    <table cellspacing="2" cellpadding="1" width="100%" border="0">
                                                        <tr>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Model_ID" AutoCompleteType="Disabled" runat="server"
                                                                    Text='<%# Bind("Model_ID") %>' Visible="false"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">
                                                                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*" Width="1px"></asp:Label>
                                                                Name :
                                                            </td>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Model_Name" AutoCompleteType="Disabled" runat="server"
                                                                    Text='<%# Bind("Model_Name") %>'></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td valign="top" align="right">
                                                                Description :
                                                            </td>
                                                            <td>
                                                                <asp:TextBox Width="200px" ID="Model_Description" AutoCompleteType="Disabled" runat="server"
                                                                    TextMode="MultiLine" Height="100px" Text='<%# Bind("Model_Description") %>'></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="Button3" runat="server" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                                    CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                                                </asp:Button>
                                                <asp:Button ID="Button4" runat="server" Text="Cancel" CausesValidation="false" CommandName="Cancel">
                                                </asp:Button>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </FormTemplate>
                            <PopUpSettings Modal="True"></PopUpSettings>
                        </EditFormSettings>
                    </MasterTableView>
                    <ClientSettings EnablePostBackOnRowClick="true">
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                </telerik:RadGrid>
            </td>
        </tr>
    </table>
</asp:Content>



Thanks,
Mohamed.
Princy
Top achievements
Rank 2
 answered on 02 May 2011
6 answers
150 views
Hi There!

I have tried to load a double array into Radgrid without success. Any Ideas ?

protected void Page_Load(object sender, EventArgs e)
{
    double[][] criterios = new double[][]
                            
                                new double[] {1,5,0.33333333,1},
                                new double[] {0,1,0.2,0.5},
                                new double[] {0,0,1,3},
                                new double[] {0,0,0,1}
                            };
    DataTable matrix = new DataTable();
    matrix = GetDataTableFromArray(criterios);
    RadGrid1.DataSource = matrix;
}
public static DataTable GetDataTableFromArray(object[] array)
{
    DataTable dataTable = new DataTable();
    dataTable.LoadDataRow(array, true);
    return dataTable;
}

Regards,

Marcio Nascimento
Vasil
Telerik team
 answered on 02 May 2011
3 answers
607 views
Hi,

I am using radlistbox. i added the items into radlistbox in client side. it is fine. but how to add attributes for the item?

var list = $find("<%= RadListBoxSource.ClientID %>");
                     var items = list.get_items(); list.trackChanges();
                     var item = new Telerik.Web.UI.RadListBoxItem();
                     item.set_text(txt);
                     item.set_value(val);
                     list.get_items().getItem().set_attributes().setAttribute('display_list') = "list1";
                     list.get_items().add(item);
                     item.select();
                     list.commitChanges();

Bold items i am not able to add attributes for this one.

Please let me know if you have any tips,

Thanks,
Dhamu,
Peter Filipov
Telerik team
 answered on 02 May 2011
6 answers
118 views
Hi,

I'm having a problem putting the RadMenu control into SharePoint 2010 because of its overlay behaviour. I'm looking to replace SharePoint's OOB navigation with the RadMenu, but it's not playing nicely with SharePoint's Site Actions menu. I've set the EnableOverlay property to false, however the overlay is still in effect if I mouseover any of the RadMenu's items.

I've attached some screenshots to demonstrate the problem. One shows all controls inactive (just for reference), one shows the Site Actions menu overlaying on top of the RadMenu control (this is how I want it to behave, hence setting EnableOverlay to false), then another showing the RadMenu in an active state overlaying on top of the Site Actions menu, which isn't the look I'm after.

Anybody have any tips for having the RadMenu always sit below the Site Actions menu? I'd also thought of trying something neat like if the RadMenu becomes active while the Site Actions menu is open, it closes the Site Actions menu, but I don't really have enough time on this project to delve into SharePoint's javascript actions.

Cheers
Helen
Telerik team
 answered on 02 May 2011
4 answers
134 views
I'm not sure if this has been asked before, but is it at all possible to determine a file's path from being dragged and dropped from the local user's PC onto the web browser, insert that into the upload field, and then submit for upload automatically? Even if the drag and drop portion isn't possible, could a file be programmatically uploaded (via Javascript or otherwise) given a known path, such that the user would not need to select it each time they wanted to upload it. Say I just wanted to remember the last 5 uploaded files and have them prepoulated for upload.

P.S. Can the Telerik SilverLight Upload Control be of use for this scenerio?
Genady Sergeev
Telerik team
 answered on 02 May 2011
1 answer
319 views
Hi,
Maybe someone out there could help me out here.

I have a Page that binds data to a grid that then (depending on the data within that row) adds a usercontrol to a cell within that row.  The data is bound only once to the grid and I have placed the logic to add the usercontrols to the ItemCreated event for the grid (so that everytime the grid causes a Postback the usercontrols are recreated).  Now there is a need for functionality to allow the user to add a new instance of the user control (of the same type) to the cell.

I have tried the following:

  1. I have used the serverclick event of a button to add the new control to the grid - however, as the control is added after LoadViewState any user entered data to the control is not maintained by Viewstate.  At least on the first passthrough of a Page lifecycle the data is not maintained however, if the Item created event knows that an extra user control is required for a given row then any subsequent postbacks would allow the data entered to be mainteained by Viewstate  Ie.
            -- On first load --
            PAGELOAD (Bind grid)
                -> ONDATABOUND
                -> ONITEMCREATED (adds user controls to specific cell in RadGrid)
            -- On server click to add new control (Causing Postback) --
            ONITEMCREATED (adds user controls to specific cell in RadGrid)
                -> PAGELOAD (Grid not bound)
                -> BUTTONCLICK EVENT (add new usercontrol to correct row)
                (Data entered to added control)
            -- On Second server click to add new control (Causing Postback) --
            ONITEMCREATED (adds user controls to specific cell in RadGrid adding the extra User control for the effected row)
                -> PAGELOAD (Grid not bound)
                (Data entered on added control not set)
                -> BUTTONCLICK EVENT (add new usercontrol to correct row)
                (Data entered to the first added control)
                (Data entered into the newly added control)
            -- On Third server click to add new control (Causing Postback) --
            ONITEMCREATED (adds user controls to specific cell in RadGrid adding the extra 2 User control for the effected rows)
                -> PAGELOAD (Grid not bound)
                (Data entered on first control control set - data entered into second not set)
                -> BUTTONCLICK EVENT (add new usercontrol to correct row)

    I have tried using a variety of different methods to force a manual postback following the Buttonclick event to ensure a new 'full' page lifecycle occurs (after the serverclick event) so that Viewstate saves the user input but this results in a very messy clientside and serverside code...
  2. I added a clientside onclick event to the serverclick button that sets a hidden textbox with data that could be used by the ITEMCREATED event to build the correct usercontrols in the grid.  However, the hidden textbox is always empty when the Itemcreated event is fired as the viewstate has not been loaded at that time following the postback.  I could not think of another way to pass the data to allow it to be available to the Itemcreated method (other than the use of Cookies which would be set by a Javascript function kicked off by the onclick event from the serverclick button... and then this could be consumed by the ItemCreated method)
  3. The final option which does work though performance is poor.. is to Response.Redirect to the page following the button serverclick event... I save required data within the database but the Itemcreated method builds and adds the usercontrols at the right time...

Are there any other ways that people out there could think of to get this to work... Biggest problem is that the ItemCreated event gets fired before PageLoad on Postback.  I think I will proceed with the Cookie method as it allows for performance but there would be the problem that people with Cookies disabled would not be able to use the system... well they could use it...  but the Viewstate not storing entered userdata on dynamically created usercontrols on first appearance would still rear it's ugly head...

Any smart people out there with any other ideas???

Iana Tsolova
Telerik team
 answered on 02 May 2011
1 answer
74 views
Hi,

I have created radfilter with custom dropdowneditor.When I submit the page it passes the correct value for the filter expression.If I click the "Browser back" button,the filter is loading with the selected value in the dropdown.However, if I tried to add another filter ao just simply submit the page again the previously selected value is passing as empty string.
This happens only for the last filter row,which means if I have two filter rows and the lastet value only set as empty.
Please help

Warn.
Tsvetina
Telerik team
 answered on 02 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?