Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hi,

In the example given in your site (url provided below), the code RadMenu1.SelectedItem throws an error when i tried out the sample example. I'm not able to understand why its happening so? The error I got is below
'Telerik.Web.UI.RadMenu' does not contain a definition for 'SelectedItem' and no extension method 'SelectedItem' accepting a first argument of type 'Telerik.Web.UI.RadMenu' could be found (are you missing a using directive or an assembly reference?) 
Do i need to add any reference?

url : http://demos.telerik.com/aspnet-ajax/menu/examples/programming/addremovedisableitems/defaultcs.aspx

Regards,
kk
Kamen Bundev
Telerik team
 answered on 29 Apr 2010
3 answers
155 views
I have a RadGrid that groups by three columns on load defined by GridGroupByExpressions. EditMode is PopUp and EditFormType is WebUserControl. In the RadGrid1_NeedDataSource event, the DataSource is bound to a SqlDataSource object ("this.RadGrid1.DataSource = this.sdsLeadDistributionSummary"). My problem is that it takes about 20 seconds for the user control (which is currently blank - it does not contain any logic) to pop up on edit. The edit column is autogenerated. The stored procedure behind the sql data source control executes in about 24 milliseconds. What could be causing the 20 second dealy for the user control to pop up? The same issue exists with GroupLoadMode of Client and Server. Note that the stored procedure only returns about 260 records. If I change the stored procedure to only return the top 10, the loading is much faster. So something must be happening to each of the 260 rows that is very time consuming. Any ideas?
Pavlina
Telerik team
 answered on 29 Apr 2010
6 answers
430 views
Am having two columns in radgrid
Column A is templatecolumn radcombobox &
Column B is GridBoundColumn

while clicking the add new record .two controls appears combobox & bounndcolumn textbox ,while selecting the value from
Combobox A  i wanna assign selected value  to Column B bound column textbox.
this should be done on  clientselectedindexchanged event of Column A

Pavlina
Telerik team
 answered on 29 Apr 2010
5 answers
222 views

Is there a way to set the editor for right-to-left languages programmatically?


Schlurk
Top achievements
Rank 2
 answered on 29 Apr 2010
2 answers
382 views
hi all ,i'm devoloping a multi image uploader inside radgrid  component
I used GridEditCommandColumn  as opening edit block
this grid also inside a page which have validators

so How to define a validation group for edit mode of grid control?


 <telerik:RadGrid runat="server" ID="ImagesRadGrid" AllowPaging="True" AllowSorting="True" 
          OnNeedDataSource="ImagesRadGrid_NeedDataSource" AutoGenerateColumns="False" Width="97%"    
          OnUpdateCommand="ImagesRadGrid_UpdateCommand" OnPreRender="ImagesRadGrid_PreRender" 
            ShowStatusBar="True" OnInsertCommand="ImagesRadGrid_InsertCommand" OnDeleteCommand="ImagesRadGrid_DeleteCommand" 
            GridLines="None" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated" PageSize="2">  
            <PagerStyle Mode="NumericPages" AlwaysVisible="true" /> 
            <MasterTableView Width="100%" DataKeyNames="ImageUrl" > 
                <Columns> 
                    <telerik:GridEditCommandColumn ButtonType="ImageButton"   > 
                        <HeaderStyle Width="3%" /> 
                    </telerik:GridEditCommandColumn> 
                    <telerik:GridTemplateColumn HeaderText="Culture" UniqueName="Culture" SortExpression="Culture">  
                        <ItemTemplate> 
                            <asp:Label runat="server" ID="lblCulture" Text='<%# Eval("Culture.Description") %>' /> 
                        </ItemTemplate> 
                        <EditItemTemplate> 
                        <asp:Label runat="server" ID="lblCulture" Text='<%# Bind("Culture.Description") %>' /> 
                        </EditItemTemplate> 
                        <HeaderStyle Width="30%" /> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridTemplateColumn UniqueName="Upload">  
                    <ItemTemplate> 
                    <img name='imageViewer' alt="image" width='100' height='100'   src='<%# "../ImageWebForm.aspx?ImagePath="+Eval("ImageUrl") %>' /> 
                    </ItemTemplate> 
                    <EditItemTemplate > 
                    <div id="fileUpladerDiv">  
                        <table style="width:300px">  
                        <tr> 
                    <td style="width:250px;" >          
                        <telerik:RadUpload ID="RadUpload1"  runat="server"   InitialFileInputsCount="1"   
                        AllowedFileExtensions=".png" ControlObjectsVisibility="None"  Width="222px" Skin="WebBlue"  /> 
                    </td> 
                    </tr> 
                    </table> 
                    </div> 
                    </EditItemTemplate> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton">  
                        <HeaderStyle Width="2%" /> 
                    </telerik:GridButtonColumn> 
                </Columns> 
                <EditFormSettings> 
                    <EditColumn ButtonType="ImageButton" /> 
                </EditFormSettings> 
            </MasterTableView>   
        </telerik:RadGrid>  
dank
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
73 views
Hi,

i have a box on my end of editor ?
how can mask this box ?

thank's 

Ch Perez
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
197 views
I learned how to hide the Pager's Dropdown counter using the Style below but I'd like to also hide the Pager's "X items in Y pages" Text.

    <style type="text/css">  
        div.RadGrid .rgPager .rgAdvPart  
        {  
            display: none;  
        }  
    </style> 

Is there a way of doing this? The problem is that when the RadGrid is too narrow for showing this (at the lower right of the RadGrid's footer) it will brake down to the next line what looks really ugly. I could reduce the font's size so it would fit there but I believe there's should be an alternative.

Thanks in advance!
Gilberto Beltrao
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
269 views
I am having trouble using RadNumericTextBox to allow the user to enter 16 digit numbers. The following is my markup:
 <telerik:RadNumericTextBox ID="txtCCNum" runat="server" Type="Number"
                                MaxValue="9999999999999999" AllowOutOfRangeAutoCorrect="false" MinValue="1" >
                                <NumberFormat DecimalDigits="0" GroupSeparator="" AllowRounding="false" />
                                <IncrementSettings InterceptArrowKeys="false" InterceptMouseWheel="false" />
                            </telerik:RadNumericTextBox>
1. The value is being rounded up.
2. How do I retrieve the value in a simple notation? (not expenonential notation like 5.2400000e+15)

Thanks.
Sachin



Sachin Kulkarni
Top achievements
Rank 1
 answered on 29 Apr 2010
1 answer
80 views
Hi,

I was wondering if it is possible to make the Rad Dock modal when it is displayed.  I read the older thread and I don't know if that still works.  Any help would be appreciated!
Pero
Telerik team
 answered on 29 Apr 2010
1 answer
67 views
Is there anyway that I can open an advanced form for the individual event by providing the URL?   The URL contains an Event ID as a query string.
Thanks in advanced.
Peter
Telerik team
 answered on 29 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?