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

Hi Telerik,

Have a few queries on the capability  of the RadGrid in the following scenarios

1. Can we restrict the user to do either Update or Insert. That is when a new row is added for Insert , the user cannot edit another row and vice versa?

2. Can we add multiple new rows at the same time instead of one by one?

Regards



Princy
Top achievements
Rank 2
 answered on 20 Jul 2010
1 answer
132 views

Please see attached snap, how can we change the text?

Thanks,
AY
Shinu
Top achievements
Rank 2
 answered on 20 Jul 2010
2 answers
93 views

Hello, i have a asp:ImageButton in a ItemTemplate with precedent version the command is fired in OnCommand and in OnItemCommand
with newest version the events of command does not fire.

I have to go back and reference Q1 2010 again.

Thanks a lot
Andrea



<

 

 

telerik:RadListView ID="listMenu" runat="server" ItemPlaceholderID="menuHolder" AllowPaging="true" OnItemDataBound="listMenu_ItemDataBound">

 

 

 

<LayoutTemplate>

 

 

 

<div class="menuContainer">

 

 

 

<asp:Panel ID="MenuPanel" runat="server">

 

 

 

<div class="menu">

 

 

 

<asp:PlaceHolder ID="menuHolder" runat="server"></asp:PlaceHolder>

 

 

 

</div>

 

 

 

</asp:Panel>

 

 

 

</div>

 

 

 

</LayoutTemplate>

 

 

 

<ItemTemplate>

 

 

 

<div class="category">

 

 

 

<div class="categoryHead">

 

<%

 

#Eval("CodiFunzione")%>

 

-

 

<span class="descFunzione">

 

<%

 

# Eval("DescFunzione") %></span></div>

 

 

 

<telerik:RadListView ID="listSubMenu" runat="server" ItemPlaceholderID="subMenuHolder" OnItemCommand="listSubMenuOnItemCommand">

 

 

 

<LayoutTemplate>

 

 

 

<asp:Panel ID="subMenuHolder" runat="server" />

 

 

 

</LayoutTemplate>

 

 

 

<ItemTemplate>

 

 

 

<div class="selected">

 

 

 

<div id="content">

 

 

 

<div class="Funzione">

 

 

 

<asp:ImageButton CssClass="imgFunzione" ID="btnMenuItem" runat="server" AlternateText='<%# Eval("DescFunzione") %>' ToolTip='<%# Eval("DescFunzione") %>'

 

 

 

CommandName="Redirect" OnCommand="btnMenuItemOnCommand" CommandArgument='<%# Eval("IdFunzione") %>'

 

 

 

ImageUrl='<%# String.Format("~/Common/Images/Menu/128/{0}", Eval("IconName").ToString()) %>' />

 

 

 

</div>

 

 

 

<div class="nomeFunzione">

 

<%

 

#Eval("CodiFunzione")%></div>

 

 

 

</div>

 

 

 

<div class="helpFunzione">

 

<%

 

#Eval("DescFunzione")%></div>

 

 

 

</div>

 

 

 

</ItemTemplate>

 

 

 

<ItemSeparatorTemplate>

 

 

 

</ItemSeparatorTemplate>

 

 

 

</telerik:RadListView>

 

 

 

</div>

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadListView>

 

Andrea Del Brocco
Top achievements
Rank 1
 answered on 19 Jul 2010
2 answers
246 views
Hello i am using Rad Grid with automatic operations
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
        AllowSorting="True" DataSourceID="SqlDataSource1" GridLines="None" AutoGenerateDeleteColumn="True"
        AutoGenerateEditColumn="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
        Skin="Inox" AllowAutomaticDeletes="True" AllowMultiRowEdit="True"
        EnableHeaderContextMenu="True"  TableLayout="Fixed">


how can i add confirm button extender  RadGrid when user click on column delete  inside the RadGrid?
i want to display "Are you sure you want to delete this row or record? "

thanks for any help
sam
Top achievements
Rank 1
 answered on 19 Jul 2010
2 answers
342 views

Hi!

I have a RadGrid with two columns. The first one is a TemplateColumn and the second one a BoundColumn. When I click on the Edit hyperlink/button, a mini form appears below the row that I want to edit with a couple of Textboxes.

My problem is that in the TemplateColumn, I want to use a very short textbox in it's Edit Template, because that field stores only ONE character. BUT that TextBox appears centered, and I would like it on the left side of the Template.

Is there a way to do that?

And yes, I know that being only two fields I could use the InPlace value of the property EditMode, but I'd rather use the EditForms one ;)

Thanks a lot!
Carlos Contreras
Top achievements
Rank 1
 answered on 19 Jul 2010
7 answers
1.4K+ views
this should be an easy one, but I haven't been able to find it in the documentation. I have a simple grid that is read-only where the user can click on a hyperlink column to view the record details. Since the user cannot add new records I want to not show the default 'Add new record' text and button that displays at the top of the grid.

thanks

Carlos Contreras
Top achievements
Rank 1
 answered on 19 Jul 2010
3 answers
167 views
I have two nested RadComboBox controls. Both "SelectedValue" properties are bound to a LinqDataSource, and they both get items from different ObjectDataSources.

When I select an item in RadComboBox1 I want to update RadComboBox2's items but I'm getting the following error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control." as RadComboBox2 is also rebinding the SelectedValue property. To solve this, I unbind RadComboBox2.SelectedValue and set the field's value later, but I'm looking for a nicer option.

Is there anyway to refresh RadComboBox2 items withouth the whole rebind, so as to prevent the exception from raising?
Thanks a lot!
Kalina
Telerik team
 answered on 19 Jul 2010
1 answer
191 views
I believe I saw a way to do this before, but I can't find it now.  Is there a way to allow the user to expand the dimensions of a RadTextBox?  Thanks.
msigman
Top achievements
Rank 2
 answered on 19 Jul 2010
1 answer
116 views
Hi,

I have a radchart with the names of states being set for the xaxis, like so.

hoursRadChart.PlotArea.XAxis[i].TextBlock.Text = data.State_Name;

But the text is bumping into itself and unreadable. How do I rotate the text 90 degrees?

Thanks,

Ryan
Ryan
Top achievements
Rank 1
 answered on 19 Jul 2010
1 answer
93 views
my radscheduler dir = rtl , and I want that the calander will align to right,
how can I do this?
thank you
Veronica
Telerik team
 answered on 19 Jul 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?