Hi,
I have a RadCombox inside of a RadGrid and from OnClientSelectedIndexChanged event I need to call javascript function to get GridDataItem's DataKeyValue. Is there any example somewhere?
Thanks,
Enoch

| <telerik:RadComboBox style="margin-left: 77%" ID="RadComboBox2" runat="server" |
| Skin="Windows7" OnClientItemsRequested="ItemsLoaded" |
| OnClientSelectedIndexChanging="LoadFunds" OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged" |
| OnItemsRequested="RadComboBox2_ItemsRequested" Width="350px" AutoPostBack="true"> |
| </telerik:RadComboBox> |
| <span id="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle_wrapper" class="RadInput RadInput_Default" style="white-space: nowrap;"><input size="20" id="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle_text" name="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle_text" class="riTextBox riEnabled" style="width: 90%;" type="text"><input id="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle" name="ctl00$ctl00$BodyBase$ContentPlaceHolder1$DocTitle" class="rdfd_ inputError" style="border: 0pt none ; margin: -18px 0pt 0pt; padding: 0pt; overflow: hidden; visibility: hidden; width: 1px; height: 1px;" value="" type="text"><input autocomplete="off" id="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle_ClientState" name="ctl00_ctl00_BodyBase_ContentPlaceHolder1_DocTitle_ClientState" type="hidden"></span> |
| <span id="ctl00_ctl00_BodyBase_ContentPlaceHolder1_RequiredFieldValidator1" class="validation-error" style="color: Red; visibility: visible;"> </span> |

| <telerik:GridTemplateColumn FilterListOptions="VaryByDataType" DataType="System.DateTime" |
| DataField="cr_task_dt" GroupByExpression="cr_task_dt Group By cr_task_dt" HeaderText="Next date to contact" |
| UniqueName="cr_task_dt" SortExpression="cr_task_dt"> |
| <ItemTemplate> |
| <asp:Label runat="server" ID="lblTaskDate" Text='<%# Eval("cr_task_dt_str") %>'></asp:Label> |
| </ItemTemplate> |
| <EditItemTemplate> |
| <asp:TextBox CssClass="datepicker" ID="txtTaskDate" Text='<%# Eval("cr_task_dt") %>' |
| runat="server"></asp:TextBox> |
| <ajax:MaskedEditExtender ID="MaskedEditExtender4645" runat="server" TargetControlID="txtTaskDate" |
| Mask="99/99/9999" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" |
| OnInvalidCssClass="MaskedEditError" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left" |
| CultureName="zh-SG" ErrorTooltipEnabled="True" /> |
| </EditItemTemplate> |
| </telerik:GridTemplateColumn> |
"Next date to conact: 6/1/2010 12:00:00 AM"
"Next date to conact: 4/12/2010 12:00:00 AM"
I dont want the Time part (12:00:00 AM) to be displayed in the group header. How to remove it?
Please help me sort it out. Thanks in advance.
Regards,
Aswin Suriya
Hi All,
We are currently in the process of purchasing the AJAX RadControls suite for 3 developers. My question is, how easy is it / how fast can one get up to speed on developing with the AJAX controls assuming the following:
1. Everyone in our team is completely new to AJAX and working with RadControls
2. we have been supporting an old solution that uses RadControls but all of the templates were built for us by a consultant
3. the solution we currently support is .Net 1.1 and we develop in VS2003
4. We will be building our new app on VS2005 and .Net 2.0
We need to get a fairly small searching and customer database management app built in a month. We have done the functional and tech specs and are ready to begin coding.
So my question is (finally) - Is it realistic to expect us to be able to get up to speed and build some telerik enabled pages inside a month?
Where would you suggest we start? I downloaded the 794 page manual from the telerik site and will read but obviously that is going to eat a bunch of time. Are there any other good quick resources to get us up and running quickly?
Appreciate any feedback even if it is just - "you're screwed man..." :)
Sorry if I've missed the point here, but here's my issue.
I've got a RadGrid declared like this
<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowPaging="True"
AutoGenerateColumns="False" OnUpdateCommand="UpdateItem" OnInsertCommand="UpdateItem"
AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false" OnDeleteCommand="DeleteItem"
Skin="WebBlue" OnNeedDataSource="NeedDataSource" Width="50%" OnItemCommand="LawyerSelected">
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView CommandItemDisplay="TopAndBottom" AutoGenerateColumns="false" DataKeyNames="LawyerID"
BorderColor="Black" BorderWidth="1px" GridLines="Both">
<Columns>
<telerik:GridBoundColumn DataField="LawyerID" DataType="System.Guid" AllowFiltering="false"
HeaderText="LawyerID" UniqueName="LawyerID" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Company" HeaderText="Company" UniqueName="Company">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="TemplateColumn2">
<ItemTemplate>
<asp:LinkButton ID="EditButton" CommandName="Edit" CommandArgument="Edit" Text="Edit" runat="server"></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="UpdateButton" CommandName="Update" CommandArgument="Update" Text="Update" runat="server"></asp:LinkButton>
<asp:LinkButton ID="CancelButton" CommandName="Cancel" CommandArgument="Cancel" Text="Cancel" runat="server"></asp:LinkButton>
</EditItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings ColumnNumber="2" CaptionDataField="Name" CaptionFormatString="Editing Lawyer {0}">
<FormTableItemStyle Wrap="false" />
</EditFormSettings>
</MasterTableView>
<ClientSettings EnablePostBackOnRowClick="true"></ClientSettings>
</telerik:RadGrid>
The important bits being that the auto edit feature is turned off.
What I want to be able to do is either click on the edit link (Edit Button) to edit the row or click on a row to do something else (display related information).
For some reason when I click on a row the CommandName that’s returned is usually rowClick and not Edit.