Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
I have a RadUpload control on my page. It works fine the first time I try to upload a file. The Control is placed in a MultiView, after I upload a document the view changes to show a gridview with the new file information. When I navigate back to the UpLoad View o it, it will not not browse for another file, the textbox is empty and and a black dot ? appears to the left of the control. I have the ControlObject Visibility set to "None". I have tried with and without the RadProgress and RadProgressManager Controls.  I am using VS2008 asp.net 3.5.


<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Theme="Theme1" Inherits="DocumentLibrary._Default" %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

 

<%

@ Register src="Controls/DocDetail.ascx" tagname="DocDetail" tagprefix="uc1" %>

 

 

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head runat="server">

 

 

<title>Untitled Page</title>

 

 

<style type="text/css">

 

 

.style2

 

{

 

width: 242px;

 

}

 

.style3

 

{

 

height: 32px;

 

}

 

</style>

 

 

 

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"

 

 

EnableTheming="True">

 

 

</telerik:RadScriptManager>

 

 

<asp:UpdatePanel ID="UP1" runat="server">

 

 

<Triggers>

 

 

<asp:PostBackTrigger ControlID="btnUpload" />

 

 

</Triggers>

 

 

<ContentTemplate>

 

 

<table valign="top" width="600px">

 

 

<tr>

 

 

<td width="300" valign="top">

 

 

<asp:Repeater id="FormTypes" OnItemCommand="FormTypesCommand" runat="server">

 

 

<HeaderTemplate>

 

 

<table border="0" width="100%">

 

 

<tr>

 

 

</tr>

 

 

</HeaderTemplate>

 

 

<ItemTemplate >

 

 

<tr>

 

 

<td valign="top">

 

 

<asp:LinkButton ID="Button1" width="200px" f

 

 

CommandArgument=<%#DataBinder.Eval(Container.DataItem,"autoID")%>

 

 

Text=<%#DataBinder.Eval(Container.DataItem,"FormType")%> runat="server" Font-Size="12px" Font-Names="arial"></asp:LinkButton>

 

 

</td>

 

 

</tr>

 

 

</ItemTemplate>

 

 

<FooterTemplate>

 

 

</table>

 

 

</FooterTemplate>

 

 

</asp:Repeater>

 

 

</td>

 

 

<td valign="top">

 

 

<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">

 

 

<asp:View ID="View1" runat="server">

 

 

<table>

 

 

<tr>

 

 

<td width="300px">

 

 

<asp:Label ID="lblFormType" runat="server" />

 

 

</td>

 

 

<td width="300px" align="right">

 

 

<asp:button ID="btnadd" Text="Add a new document" runat="server"

 

 

onclick="btnadd_Click" /><br />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<asp:GridView ID="FileList" runat="server" AutoGenerateColumns="false"

 

 

onrowcommand="FileList_RowCommand" onrowcreated="FileList_RowCreated"

 

 

onselectedindexchanged="FileList_SelectedIndexChanged" GridLines="Horizontal" Width="600px">

 

 

<HeaderStyle Font-Bold="true" Font-Names="Calibri" />

 

 

<RowStyle Font-Names="arial" Font-Size="12px" />

 

 

<Columns>

 

<%

--0--%>

 

 

<asp:buttonfield buttontype="Link" commandname="view" text="vw" />

 

<%

--1--%>

 

 

<asp:boundfield datafield="formType" headertext="Form Type" visible="true" />

 

<%

--2--%>

 

 

<asp:TemplateField HeaderText="">

 

 

<ItemTemplate>

 

 

<a id="download" href='<%#ConfigurationManager.AppSettings.Get("HTTPwebroot")%>providerForms/<%#DataBinder.Eval(Container.DataItem,"formFolder")%>/<%#DataBinder.Eval(Container.DataItem,"fileName")%>'

 

 

target="_blank"><%#DataBinder.Eval(Container.DataItem, "original_fileName")%></a>

 

 

</ItemTemplate>

 

 

</asp:TemplateField>

 

<%

--3--%>

 

 

<asp:boundfield datafield="createDate" headertext="Created On" />

 

<%

--4--%>

 

 

<asp:boundfield datafield="fileName" headertext="Saved File Name"

 

 

visible="true" />

 

<%

--5--%>

 

 

<asp:boundfield datafield="formFolder" headertext="Folder" visible="true" />

 

<%

--6--%>

 

 

<asp:TemplateField HeaderText="">

 

 

<ItemTemplate>

 

 

<a id="download" href='<%#ConfigurationManager.AppSettings.Get("HTTPwebroot")%>providerForms/<%#DataBinder.Eval(Container.DataItem,"formFolder")%>/<%#DataBinder.Eval(Container.DataItem,"fileName")%>'

 

 

target="_blank">DL</a>

 

 

</ItemTemplate>

 

 

</asp:TemplateField>

 

<%

--7--%>

 

 

<asp:buttonfield buttontype="Link" commandname="rev" text="Rev" />

 

<%

--8--%>

 

 

<asp:buttonfield buttontype="Link" visible="false" commandname="delete" text="Del" />

 

<%

--9--%>

 

 

<asp:boundfield datafield="autoID" headertext="autoid" />

 

<%

--10--%>

 

 

<asp:buttonfield buttontype="Link" visible="false" commandname="edit" text="Edit" />

 

 

<asp:boundfield datafield="original_fileName" headertext="Folder" visible="true" />

 

 

</Columns>

 

 

</asp:GridView>

 

 

<br /><br />

 

 

 

<br />

 

 

<uc1:DocDetail id="DocDetail2" runat="server" />

 

 

</asp:View>

 

 

<asp:View ID="View2" runat="server">

 

 

<asp:Label ID="lblFormTypeRev" Font-Color="#A2CDEF" runat="server" Font-Names="Calibri" />

 

 

<asp:GridView ID="FileRevisions" runat="server" AutoGenerateColumns="false"

 

 

OnRowCommand="FileRevisions_RowCommand" onrowcreated="FileRevisions_RowCreated"

 

 

onrowdeleting="FileRevisions_RowDeleting"

 

 

onselectedindexchanged="FileRevisions_SelectedIndexChanged" Width="600px"

 

 

Font-Names="Calibri" Font-Color="#A2CDEF" GridLines="Horizontal">

 

 

<HeaderStyle Font-Bold="true" Font-Names="Calibri" />

 

 

<RowStyle Font-Names="arial" Font-Size="12px" />

 

 

<Columns>

 

<%

--0--%>

 

 

<asp:buttonfield buttontype="Link" commandname="view" text="vw" />

 

<%

--1--%>

 

 

<asp:boundfield datafield="formType" headertext="Form Type" Visible="true" />

 

<%

--2--%>

 

 

<asp:TemplateField HeaderText="">

 

 

<ItemTemplate>

 

 

<a id="download" href='<%#ConfigurationManager.AppSettings.Get("HTTPwebroot")%>providerForms/<%#DataBinder.Eval(Container.DataItem,"formFolder")%>/<%#DataBinder.Eval(Container.DataItem,"fileName")%>'

 

 

target="_blank"><%#DataBinder.Eval(Container.DataItem, "original_fileName")%></a>

 

 

</ItemTemplate>

 

 

</asp:TemplateField>

 

<%

--3--%>

 

 

<asp:boundfield datafield="createDate" headertext="Created On" />

 

<%

--4--%>

 

 

<asp:boundfield datafield="fileName" headertext="Saved File Name"

 

 

visible="true" />

 

<%

--5--%>

 

 

<asp:boundfield datafield="formFolder" headertext="Folder" visible="true" />

 

<%

--6--%>

 

 

<asp:TemplateField HeaderText="">

 

 

<ItemTemplate>

 

 

<a href='<%#ConfigurationManager.AppSettings.Get("HTTPwebroot")%>providerForms/<%#DataBinder.Eval(Container.DataItem,"formFolder")%>/<%#DataBinder.Eval(Container.DataItem,"fileName")%>'

 

 

target="_blank">DL</a><%--5--%>

 

 

</ItemTemplate>

 

 

</asp:TemplateField>

 

<%

--7--%>

 

 

<asp:buttonfield buttontype="Link" commandname="delete" text="Del" />

 

<%

--8--%>

 

 

<asp:boundfield datafield="autoID" headertext="autoid" />

 

<%

--9--%>

 

 

<asp:boundfield datafield="original_fileName" headertext="FileName" />

 

 

</Columns>

 

 

</asp:GridView>

 

 

<br /><br />

 

 

 

<br />

 

 

<uc1:DocDetail id="DocDetail1" runat="server" />

 

 

 

</asp:View>

 

 

<asp:View ID="View3" runat="server">

 

 

<asp:Image ID="Image1" runat="server" Width="71px" />

 

 

<asp:Literal ID="lit_Name" runat="server" /> This is View3.

 

 

</asp:View>

 

 

<asp:View ID="View4" runat="server">

 

 

<table cellpadding="2px" cellspacing="2px" width="100%">

 

 

<tr>

 

 

<td align="left" colspan="2" class="style3">

 

Form Type

<asp:DropDownList ID="ddlFormType" AutoPostBack="true" runat="server" Height="24px" Width="200px"

 

 

DataTextField="formType" DataValueField="autoid"

 

 

onselectedindexchanged="ddlFormType_SelectedIndexChanged" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td align="left" colspan="2">

 

 

<asp:Label ID="lblFormID" runat="server" Width="397px" /><br />

 

 

<asp:DropDownList ID="ddlFormID" visible="false" runat="server" Height="24px"

 

 

Width="400px" onselectedindexchanged="ddlFormID_SelectedIndexChanged" />

 

 

<asp:TextBox ID="txtDescription" visible="false" runat="server" Width="400px" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td align="right" class="style2" >

 

 

<telerik:RadUpload ID="RadUpload1" Runat="server"

 

 

ControlObjectsVisibility="None" Height="29px" Width="300px"

 

 

oninit="Page_Load"></telerik:RadUpload>

 

<%

-- <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" Language="">

 

<Localization Uploaded="Uploaded" />

</telerik:RadProgressArea>

<telerik:RadProgressManager ID="RadProgressManager2" Runat="server"

SuppressMissingHttpModuleError="True" />

--

 

%> <td align="left">

 

 

<asp:Button ID="btnUpload" runat="server" Text="Upload"

 

 

style="width: 60px" onclick="btnUpload_Click" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td align="left" colspan="2">

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

 

</asp:View>

 

 

<asp:View ID="View5" runat="server">

 

 

</asp:View>

 

 

</asp:MultiView>

 

 

<br /><br />

 

 

 <asp:Label ID="lblErrMsg" runat="server"></asp:Label>

 

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

 

</ContentTemplate>

 

 

</asp:UpdatePanel>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Vesko
Top achievements
Rank 2
 answered on 16 Feb 2010
2 answers
159 views
1. if you create a link to open a radwindow.
2. double or tripple click on the link
Problem --it sometimes opens the window with disorted dimensions (tall and skinny window or fat and short)
3. Can do it in firefox 3.5.7 I could not create it in IE


To recreate this I created a link:

<

 

asp:HyperLink ID="linkText" runat="server" Text="More Details" Style="cursor:pointer;cursor:hand"></asp:HyperLink>

I added this onclick event to link
:

linkPicture.Attributes.Add(

"onclick", "javascript:OpenPreviewWindow('" + winUrl + "');");

 


I added the following manager in the aspx page:

<

 

telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

<Windows>

 

 

<telerik:RadWindow ID="RadProductSelectionWindow" runat="server" Title="Select Product"

 

 

Width="830" Height="620" VisibleStatusbar="false" VisibleTitlebar="true" Modal="true"

 

 

Animation="FlyIn" ShowContentDuringLoad="false" IconUrl="/favicon.ico" KeepInScreenBounds="true"

 

 

Behaviors="Close" ClientCallBackFunction="ProductSelectionCallback">

 

 

</telerik:RadWindow>

 

 

</Windows>

 

</

 

telerik:RadWindowManager>

 

Georgi Tunev
Telerik team
 answered on 16 Feb 2010
1 answer
177 views
Hi,
  I have a hierachical grid and i wish the grid to be refreshed after updating the child rows as the parent rows are generated are based on changes to the child rows (item quantity)

I rebind the grid on the 'after updated event' like so

 protected void RadGrid1_ItemUpdated(object source, GridUpdatedEventArgs e)
    {
        RadGrid1.DataBind();
    }

This will refresh the grid
however this leaves the Update control open. the html for the grid is as below:

Thanks in advance

Robert Smith

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True"  
    AllowMultiRowEdit="True" AllowPaging="True" AllowAutomaticUpdates="True"
    AllowSorting="True" GridLines="None" DataSourceID="sds_requests_by_status"
    AutoGenerateColumns="False"  AllowAutomaticInserts="True"
        AutoGenerateHierarchy="True"  
    OnNeedDataSource="RadGrid1_NeedDataSource" Skin="WebBlue"
    OnItemDataBound="RadGrid1_ItemDataBound"
    OnItemCommand="RadGrid1_ItemCommand" oninsertcommand="RadGrid1_InsertCommand" OnItemUpdated="RadGrid1_ItemUpdated">
    <MasterTableView DataKeyNames="id"  DataSourceID="sds_requests_by_status"  EditMode="InPlace">
        <DetailTables >
                    <telerik:GridTableView DataKeyNames="id" DataSourceID="sds_products_by_request" BorderStyle="Solid" BorderWidth ="2px" CommandItemDisplay="Top" Width="100%" runat="server">
                        <ParentTableRelation>
                            <telerik:GridRelationFields DetailKeyField="id" MasterKeyField="id" />
                        </ParentTableRelation>
                        <Columns>
                             <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="editcolumn">
                              <ItemStyle CssClass="MyImageButton" /> </telerik:GridEditCommandColumn>
                                  <telerik:GridBoundColumn SortExpression="id" HeaderText="id"  AllowFiltering="False" ReadOnly="True" HeaderButtonType="TextButton"
                                DataField="id" UniqueName="id" >
                            </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  AllowFiltering="False" SortExpression="session_id" HeaderText="session_id"  HeaderButtonType="TextButton"
                                DataField="session_id" UniqueName="session_id" Visible="False" ReadOnly="True">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn  AllowFiltering="False"  ReadOnly="True" SortExpression="ss_product_code" HeaderText="product code"  HeaderButtonType="TextButton"
                                DataField="ss_product_code"  UniqueName="ss_product_code">
                            </telerik:GridBoundColumn>
                              <telerik:GridBoundColumn allowfiltering="False" readonly="True" SortExpression="description" HeaderText="description"  HeaderButtonType="TextButton"
                                DataField="description" UniqueName="description">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AllowFiltering="False"  ReadOnly="True" SortExpression="supplier_code" HeaderText="Supplier code"  HeaderButtonType="TextButton"
                                DataField="supplier_code" UniqueName="supplier_code">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AllowFiltering="False" readonly="True" SortExpression="price" HeaderText="Price"  HeaderButtonType="TextButton"
                                DataField="price" UniqueName="price">
                            </telerik:GridBoundColumn>
                              <telerik:GridBoundColumn allowfiltering="False"  ReadOnly="True" SortExpression="currency_code" HeaderText="Currency code"  HeaderButtonType="TextButton"
                                DataField="currency_code" UniqueName="currency_code">
                            </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn allowfiltering="False"  ReadOnly="True" SortExpression="quantity" HeaderText="Unit quantity" ColumnEditorID="edit_quantity"  HeaderButtonType="TextButton"
                                DataField="quantity" UniqueName="quantity">
                            </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn allowfiltering="False"  ReadOnly="True" Visible="False" HeaderText="Product_price_id" ColumnEditorID="edit_product_price_id"  HeaderButtonType="TextButton"
                                DataField="Product_Price_Id" UniqueName="Product_Price_Id">
                            </telerik:GridBoundColumn>
                            
                        </Columns>
                    </telerik:GridTableView>
          </DetailTables>            
        <Columns>
              <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="editcolumn">
                    <ItemStyle CssClass="MyImageButton" />
                
                </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn DataField="id" DataType="System.Int32" HeaderText="Request No." ReadOnly="True"
                SortExpression="id" UniqueName="id"  >
            </telerik:GridBoundColumn>
            
            <telerik:GridDropDownColumn FilterControlWidth="160px"   DataField="request_status" DataSourceID="sds_request_status"
            HeaderText="Request Status" ListTextField="Request_status" ListValueField="request_status"  Display="False"
            UniqueName="request_status" ColumnEditorID="GridDropDownColumnEditor1">
                        <FilterTemplate>
                            <telerik:RadComboBox ID="RadCbo_Request_status" DataSourceID="sds_request_status" DataTextField="request_status"
                                DataValueField="request_status" Height="200px" AppendDataBoundItems="true"
                                SelectedValue='<%#((GridItem)Container).OwnerTableView.GetColumn("request_status").CurrentFilterValue %>'

                                runat="server" OnClientSelectedIndexChanged="RequestStatusChanged">
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                                
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                                <script type="text/javascript">
                                    function RequestStatusChanged(sender, args) {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("request_status", args.get_item().get_value(), "EqualTo");
                                    }
                                </script>
                            </telerik:RadScriptBlock>
                        
</FilterTemplate>
             <HeaderStyle Width="160px" />
        </telerik:GridDropDownColumn>
              <telerik:GridBoundColumn DataField="request_date" DataType="System.DateTime" ReadOnly="True" HeaderText="Request Date" SortExpression="request_date"
                UniqueName="request_date">
            </telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="price" DataType="System.Decimal" ReadOnly="True"  HeaderText="Value"
                SortExpression="price" UniqueName="price">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="first_name"  HeaderText="Submitter First Name" ReadOnly="True"
                SortExpression="first_name" UniqueName="first_name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="last_name"  HeaderText="Submitter Last Name" ReadOnly="True"
                SortExpression="last_name" UniqueName="last_name">
            </telerik:GridBoundColumn>
                <telerik:GridBoundColumn   HeaderText="user_id"  ReadOnly="True"  Visible="False" HeaderButtonType="TextButton"
                                DataField="user_id" UniqueName="user_id">
                            </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="user_identity"  ReadOnly="True" Visible="False"   HeaderButtonType="TextButton"
                                DataField="user_identity"  UniqueName="user_identity">
                            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="session_id"  HeaderText="Session_id" ReadOnly="True"
                SortExpression="session_id" UniqueName="session_id" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="volume"  ReadOnly="true" HeaderText="Volume m<sup>3</sup>" SortExpression="volume"
                UniqueName="Volume">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  ReadOnly="true" DataField="weight" HeaderText="weight kg" SortExpression="weight"
                UniqueName="weight">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  ReadOnly="true" DataField="airFrieghtweight" HeaderText="Air freight weight"
                SortExpression="airFrieghtweight" UniqueName="airFrieghtweight">
            </telerik:GridBoundColumn>
        </Columns>
         <ExpandCollapseColumn Visible="True">
            </ExpandCollapseColumn>
    </MasterTableView>
    <ClientSettings>
    <ClientEvents  OnFilterMenuShowing="filterMenuShowing"  />
        <Selecting AllowRowSelect="True" />
    </ClientSettings>   
     <FilterMenu OnClientShown="RestrictedMenuShowing" />
</telerik:RadGrid>







Princy
Top achievements
Rank 2
 answered on 16 Feb 2010
1 answer
142 views
Hello there , 
 
I believe that to get a file name from input box in radUpload you simply use: 

 

.UploadedFiles.Item(0).FileName

but how to set "populate" the input box.

best!

Shinu
Top achievements
Rank 2
 answered on 16 Feb 2010
1 answer
618 views
Want to delete the selected row from radgird ?
 how to delete the row from Radgrid in vb.net


Need Urgent
Shinu
Top achievements
Rank 2
 answered on 16 Feb 2010
3 answers
169 views
Hi

Special character creating problem while searching in grid.
Sample file is attached.

In RemoteIDNumber search box I put    977 and searched with contains its giving me the right records, its OK.
but what i want is
when i give 97715 it should give me two records like -977-15 and 9771559 (first two record in attached file)
but its giving only 9771559. I have to ignore the special characters.

How can i do this type of serach by ignoring special characters? 

Regards
Manish sain
maria mazilu
Top achievements
Rank 1
 answered on 15 Feb 2010
2 answers
565 views
I have a grid in which the records have special characters like "ă" , "â", "î", "ÅŸ", "Å£". When I filter a certain column I want as response the records containing these special characters although in the corresponding filter textbox I type "a" instead-of "ă" or "â".  In other word in column I have the records "mamă" and "mama", when I type in the filter text-box "mama" I want to get both records.
I figured that the best method would be to use regular expressions to ignore the a and t and s and i.
maria mazilu
Top achievements
Rank 1
 answered on 15 Feb 2010
1 answer
93 views

I have a RadContextMenu that is bound to a Radgrid. The context menu just allows the user to set the number of rows per page to show. When I use the Context menu on a RadMultipage that has several radgrids, the items being bound to the ContextMenu are incorrect.

For example the first RadContextMenu will have the following items added to it. (5,10,25,100,250,500)

Several other RadContextMenus on the Multipage will have this set of items added to it. (5,10,25,100)

When the page loads, every single ContextMenu on the different pages inside the Multipage has the first set of items added to it. The m_MaximumPaerRowsToDisplay property is being set correctly before OnInit is fired(I can step through and see that the other context menus are having the correct item set added).

The Items are being added to the ContextMenu during the OnInit event.


RadContextMenu1 = new RadContextMenu(); 
        RadMenuItem rmi = new RadMenuItem("Rows To Display".Localize()); 
        //there should always be at least a 5 rows added. 
        rmi.Items.Add(new RadMenuItem("5")); 
        if (m_MaximumPagerRowsToDisplay >= 10) 
            rmi.Items.Add(new RadMenuItem("10")); 
        if (m_MaximumPagerRowsToDisplay >= 25) 
            rmi.Items.Add(new RadMenuItem("25")); 
        if (m_MaximumPagerRowsToDisplay >= 50) 
            rmi.Items.Add(new RadMenuItem("50")); 
        if (m_MaximumPagerRowsToDisplay >= 100) 
            rmi.Items.Add(new RadMenuItem("100")); 
        if (m_MaximumPagerRowsToDisplay >= 250) 
            rmi.Items.Add(new RadMenuItem("250")); 
        if (m_MaximumPagerRowsToDisplay >= 500) 
            rmi.Items.Add(new RadMenuItem("500")); 
        if (m_MaximumPagerRowsToDisplay >= 1000) 
            rmi.Items.Add(new RadMenuItem("1000")); 

Any ideas?

Aaron Mell
Top achievements
Rank 1
 answered on 15 Feb 2010
2 answers
93 views
Hii All,
 i installed telerik setup to my Development server.  And now i tried to create webpart using radGrid. so i added reference

using

 

Telerik.Web.UI;

 

 And i wrote RadGrid gr; But when i build this web part i got one error
" The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. "

I dont what is the problem, can you explain me in detail how to bind this control with sharepoint list. i already used Asp gridview control now i would like to use Radgrid.





Thank you..
Dipesh
Dipeash Patel
Top achievements
Rank 1
 answered on 15 Feb 2010
2 answers
183 views
Hi,

I have a website built with Telerik controls.  The website was built with version and v2.0.50727 and runtime version 2008.2.1001.35 of the Telerik.Web.UI DLL and Runtime version v2.0.50727 and version 2009.2.826.35 of Telerik.Web.Design.

I want to update to the most recent version of the DLLs because there is some functionality that I really would like to use, namely FilterTemplates (which aren't in this version).  However, when I download the latest update and install them, then reference my project to the new DLLs and remove the old ones, all the formatting is gone, as you can see in the screen shots.

Why does this happen? How can I fix it?  I really would like to update to make use of some of the new functionality that's came out over the last 2 years!

Thanks

/edit
I guess it has something to do with the skins not being compatible like in the sticky, however, these skins are from Q2 2008, and not Q3.
Nick Keefe
Top achievements
Rank 1
 answered on 15 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?