Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
89 views
Hi,

My users have reported that they cannot see the telerik controls on the page, namely radcombobox and radlistbox buttons, in IE 9 and 10.
Please note that I tested those versions, and I dont get any error, so I can't reproduce the client error.
Here is a screenshot of the defective page:
http://i43.tinypic.com/104orpu.jpg
and a screenshot of what I see:
http://i41.tinypic.com/20auw43.jpg

The project is in asp.net .Net 4.0 and the telerik controls version are 2013.2.717.40.
As of the web page, the controls are within an radajaxpanel.
Here's an excerpt of the code: http://pastebin.com/LWqz2J7g
The controls use Sunset skin, and in the webconfig there's a  <add key= "Telerik.Skin" value "Sunset" />
Any help?
Thanks.
Edgar
Top achievements
Rank 1
 answered on 21 Nov 2013
1 answer
74 views
Hi Admin,

I am binding a RadGrid using the Client-side binding method. My grid consists of template columns with text boxes and dropdowns. I am able to bind the grid. But my problem is the Grid loads the template column controls only till the 11th row. The controls are not bound at all from Row no. 12 (Literally empty). Instead it shows the normal GridBoundColumns. Can you please help me out in this issue?

P.S: Attached is the screenshot of the behaviour.
Eyup
Telerik team
 answered on 21 Nov 2013
2 answers
77 views
Now I need to apply a CSS class to one of the axis labels, e.g. set a label to bold

What is the recomended method for doing this?

Tony
Top achievements
Rank 1
 answered on 21 Nov 2013
1 answer
112 views
Hi,

I am using Telrik Controls for ASP.NET Version Q2 2012 released 06/07/2012.
I want to implement bulk update functionality for RADGRID as mentioned below.
1 User will double click the cell/row and it will allow user to modify data
2 User will modify as many rows as he/she wants and finally click on Submit button
3 Only modified rows should get updated to detabase

Also I am binding the deta on NeedDetasource event.
I check the toutorial for batch update but it is not supporting "Batch" property under Edit mode for Master view.

please let me know how can i implement this functionality.
Princy
Top achievements
Rank 2
 answered on 21 Nov 2013
4 answers
170 views
I am dynamically creating radbuttons on a webpage, but cannot get them to post back to the server. 

Any ideas would be greatly appreciated!

Here is the code, this is within a loop creating the items:
aComboBox(aTextBoxCount) = New TextBox
aComboBox(aTextBoxCount).TextMode = TextBoxMode.MultiLine
aComboBox(aTextBoxCount).ReadOnly = True
aEditButton(aTextBoxCount) = New RadButton
aEditButton(aTextBoxCount).Text = "Edit"
aEditButton(aTextBoxCount).ID = aTextBoxCount
aEditButton(aTextBoxCount).AutoPostBack = True
AddHandler aEditButton(aTextBoxCount).Click, AddressOf EditText
 
 
aComboBox(aTextBoxCount).ID = "aComboBox" & aTextBoxCount
aComboBox(aTextBoxCount).Width = TextBoxWidth
aComboBox(aTextBoxCount).DataBind()
aComboBox(aTextBoxCount).Text = ""
 
RadMultiPage1.PageViews(cCheckBoxTab).Controls.Add(New LiteralControl("<table><tr><td style=""width: 45px""></td><td>"))
RadMultiPage1.PageViews(cCheckBoxTab).Controls.Add(aComboBox(aTextBoxCount))
RadMultiPage1.PageViews(cCheckBoxTab).Controls.Add(New LiteralControl("</td><td>"))
RadMultiPage1.PageViews(cCheckBoxTab).Controls.Add(aEditButton(aTextBoxCount))
RadMultiPage1.PageViews(cCheckBoxTab).Controls.Add(New LiteralControl("</td></tr></table>"))

Shinu
Top achievements
Rank 2
 answered on 21 Nov 2013
1 answer
70 views
I have several RadDocks added to an ASP PlaceHolder in a ASP page, before the page init. After the page is loaded, I don't see the rounded corners which I enabled. The appearance of the commands don't change when I hover over them. The collapse animation seems to work, but there is no expand animation. 

The problem only arises in IE9. Within Firefox the rounded corners are displayed, etc. 
With a simpler project in IE9 - just an ASP page with a RadDock with the same settings set - the rounded corners are displayed as well. 

My assumption of the cause was HTML syntax errors in the page, however those are fixed now and the issue still appears.
Does it sound familiar? Thanks in advance. 
Slav
Telerik team
 answered on 21 Nov 2013
3 answers
126 views
Hi, we have a .net user control that works very well as an edit form within the grid, with one exception. We have an Insert button, an Update button and finally a Cancel button, with CommandNames set to Insert, Update, and Cancel respectively. Depending on whether a primary key value exists from the database, we either hide the insert button or show it. 

If we are updating, the form performs as expected and the edit form disappears and the grid updates with the new values.

But inserts fail to make the edit form disappear. If we click cancel, the edit form disappears and we see the newly inserted value in the grid. 

We were under the assumption that setting the Command Name to Insert would be what we need, but apparently this is not the case. Does anyone have any ideas on either, a) what we are doing wrong or b) a way to force the edit form to close... from within the edit form control as that is where the post back and processing takes place. Many thanks.
Viktor Tachev
Telerik team
 answered on 21 Nov 2013
4 answers
116 views
I would like to pass a parameter to the webservice that would populate my dropdown.  It doesn't appear that this is currently possible?

Specifically I want to limit the values of one dropdown from the selection made in another dropdown.
Rumen
Telerik team
 answered on 21 Nov 2013
1 answer
98 views
hi,

In  my rad gird i am using radbutton with button type as "ToggleButton" to fill the all the text boxes based on one calculation. it is working fine for functionality. But the problem is when ever the grid is in edit mode. the table layout is fixed and looks good. but When i click the radButton the grid design is not stable though it worked fine for functionality.  
Here i attached the screen shots before the button click and after the button click. Also the desing code.

Thank You.
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated"
        AllowSorting="True" AllowMultiRowSelection="False" OnItemCommand="RadGrid1_ItemCommand" AutoGenerateEditColumn="false" OnDataBound="RadGrid1_DataBound"
        OnDetailTableDataBind="RadGrid1_DetailTableDataBind" OnNeedDataSource="RadGrid1_NeedDataSource" OnInsertCommand="RadGrid1_InsertCommand"
        OnPreRender="RadGrid1_PreRender">
 
        <MasterTableView DataKeyNames="TempAccountsId" ShowFooter="true" TableLayout="Auto" AllowMultiColumnSorting="True" EditMode="InPlace">
            <DetailTables>
                <telerik:GridTableView DataKeyNames="CleaningId" CommandItemDisplay="Top" TableLayout="Fixed" Name="Cleaning" ShowFooter="true" EditMode="InPlace" AllowAutomaticUpdates="false">
                    <Columns>
                        <telerik:GridTemplateColumn Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lblCleaningId" runat="server" Text='<%#Eval("CleaningId") %>'></asp:Label>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderText="Edit" UniqueName="Edit" HeaderStyle-Width="70px" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Center"
                            EditImageUrl="../Images/edit.gif" ItemStyle-HorizontalAlign="Center"  >
                        </telerik:GridEditCommandColumn>
                        <telerik:GridTemplateColumn HeaderText="Delete" UniqueName="Delete" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="45px" ItemStyle-Width="45px" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:ImageButton runat="server" ID="imgdelete" OnClientClick="return confirm('Are you sure that you want to Delete?');"
                                    ImageUrl="../Images/delete.gif" CommandName="Delete" CommandArgument="" />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Description" UniqueName="Description" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="170px" ItemStyle-Width="160px">
                            <ItemTemplate>
                                <asp:Label ID="lblExplanation" runat="server" Text='<%#Eval("Description") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtDescriptionEdit" runat="server" Text='<%#Eval("Description") %>' Width="155px"
                                    MaxLength="180"></asp:TextBox>
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                <asp:TextBox ID="txtDescriptionInsert" runat="server" Width="155px"
                                    MaxLength="180" BorderWidth="1px"></asp:TextBox>
                            </InsertItemTemplate>
                            <FooterTemplate>
                                <asp:Label ID="lblSubtotalFooter" runat="server" Text="Sub Total"></asp:Label>
                            </FooterTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn>
                            <ItemTemplate>
                                <asp:Label ID="lblNotes" runat="server" Text='<%#Eval("Notes") %>' Visible="false"></asp:Label>
                                <asp:ImageButton ID="imgNotes" runat="server" ImageUrl="~/Images/TextboxHS.png" CommandArgument='<%#Eval("CleaningId") %>'
                                    CommandName="OpenWindowView" Visible="false" />
                            </ItemTemplate>
                            <HeaderStyle Width="30px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Notes" UniqueName="Notes">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgNotesEdit" ImageUrl="~/Images/edit.gif" runat="server"
                                    CommandName="OpenWindow" CommandArgument='<%#Eval("CleaningId") %>' />
                            </ItemTemplate>
                            <HeaderStyle Width="40px" />
                        </telerik:GridTemplateColumn>
 
                        <telerik:GridTemplateColumn HeaderStyle-Width="220px" UniqueName="Rate" HeaderText="Rate" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="210px"
                            HeaderStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:RadioButton ID="rdbtnPerSqft" runat="server" Text="PerSqft" GroupName="Rate" Enabled="false" Checked='<%# bool.Parse(Eval("IsPerSqftRate").ToString()) %>' />
                                <asp:RadioButton ID="rdbtnFlat" runat="server" Text="Flat" GroupName="Rate" Enabled="false" Checked='<%# bool.Parse(Eval("IsFlatRate").ToString()) %>' />
                                <asp:Label ID="lblPerSqFtRatedisplay" runat="server" Width="50px" Style="text-align: right;" Text='<%# string.Format("{0:n}", Convert.ToDecimal(Eval("PerSqFtRate"))) %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadButton ToggleType="Radio" ID="rdbtnPerSqftEdit" Width="40px" ButtonType="ToggleButton" CommandName="PerSqftRate" Text="PerSqft" runat="server" GroupName="Rate" Checked='<%# bool.Parse(Eval("IsPerSqftRate").ToString()) %>'>
                                </telerik:RadButton>
                                <telerik:RadButton ToggleType="Radio" ID="rdbtnFlatEdit" Width="20px" ButtonType="ToggleButton" CommandName="Flatrate" Text="Flat" runat="server" GroupName="Rate" Checked='<%# bool.Parse(Eval("IsFlatRate").ToString()) %>'>
                                </telerik:RadButton>
                                <asp:TextBox ID="txtRateEdit" runat="server" Width="80px" CssClass="AlgRgh" Visible="true" Text='<%# string.Format("{0:n}", Convert.ToDecimal(Eval("PerSqFtRate"))) %>'
                                    onkeypress="javascript:return Allownumbersonly(event);" BorderWidth="1px"></asp:TextBox>
                                <asp:Label ID="lblRateEdit" runat="server" Visible="false" Text='<%# string.Format("{0:n}", Convert.ToDecimal(Eval("PerSqFtRate"))) %>'></asp:Label>
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                <telerik:RadButton ToggleType="Radio" ID="rdbtnPerSqftinsert" Width="40px" ButtonType="ToggleButton" CommandName="PerSqftinsert" Text="PerSqft" runat="server" GroupName="Rate">
                                </telerik:RadButton>
                                <telerik:RadButton ToggleType="Radio" ID="rdbtnFlatinsert" Width="20px" ButtonType="ToggleButton" CommandName="Flatrateinsert" Text="Flat" runat="server" GroupName="Rate">
                                </telerik:RadButton>
                                <asp:TextBox ID="txtRateinsert" runat="server" Width="80px"
                                    onkeypress="javascript:return Allownumbersonly(event);" BorderWidth="1px"></asp:TextBox>
                            </InsertItemTemplate>
                        </telerik:GridTemplateColumn>
 
                        
                    </Columns>
                </telerik:GridTableView>
            </DetailTables>
            <Columns>
                <telerik:GridTemplateColumn HeaderText="AccountId" UniqueName="TempAccountsId" Visible="false">
                    <ItemTemplate>
                        <asp:Label ID="lblTempAccountsId" runat="server" Text='<%#Eval("TempAccountsId") %>'></asp:Label>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Account Number" UniqueName="AccountNumber" ItemStyle-Width="120px" HeaderStyle-Width="120px" HeaderStyle-HorizontalAlign="left" ItemStyle-HorizontalAlign="left">
                    <ItemTemplate>
                        <asp:Label ID="lblAccountNumber" runat="server" Text='<%#Eval("AccountNumber") %>'></asp:Label>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Account Name" UniqueName="AccountName" ItemStyle-Width="210px" HeaderStyle-Width="220px" HeaderStyle-HorizontalAlign="left" ItemStyle-HorizontalAlign="left">
                    <ItemTemplate>
                        <asp:Label ID="lblAccountName" runat="server" Text='<%#Eval("AccountName") %>'></asp:Label>
                    </ItemTemplate>
                    <FooterTemplate>
                        <asp:Label ID="lbltotalFooter" runat="server" Text="Total:"></asp:Label>
                    </FooterTemplate>
                </telerik:GridTemplateColumn>
                
 
            </Columns>
        </MasterTableView>
        <ClientSettings AllowKeyboardNavigation="true" EnableRowHoverStyle="true">
        </ClientSettings>
    </telerik:RadGrid>
Venelin
Telerik team
 answered on 21 Nov 2013
1 answer
133 views
I am getting the error (Object Reference not set to an instance of an Object) on adding the Telerik SPradgridview webpart into my site i have already given anonymous accesss for the vti_bin\telerik.ajax.sharepoint folders,

Note :  SPradlistview webpart is working fine on adding into my site


looking for a resolution from telerik team
Marin
Telerik team
 answered on 21 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?