Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
46 views
Hi
 
I have searched this link http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx and i need this kind of advance form demo in mvc 4. Please help me.

Thanks
Gaurav Rana
Plamen
Telerik team
 answered on 03 Jun 2013
1 answer
88 views
Hi,

How to disable checking checkboxes for a particular level of nodes from C#?

Thanks,
Robert
Shinu
Top achievements
Rank 2
 answered on 03 Jun 2013
5 answers
167 views
Hi,

Is there a way to add multiple header templates to radcombo with checkbox dynamically?

For example:

Title:Dog
  dog1
  dog2
Title:Cat
  cat1 
  cat2
  cat3
Title:Bird
   Bird1

Right now, I only can add one title template and list all the items together. It would be nice to have a title for each category.
Thanks,

Tao
Plamen
Telerik team
 answered on 03 Jun 2013
2 answers
426 views
Hi,

I'm trying to select radgridview row programmatically on client side with DataKeyValue.
I'd like the selected row background to be modified also. 
Using RadControls for ASP.NET AJAX Q1 2013. Here is my sample code, but not working properly:

var Rows = $find("<%=RadGrid1.ClientID %>").get_masterTableView().get_dataItems();
 
                   for (var i = 0; i < Rows.length; i++) {
                       var row = Rows[i];
                       if (row != null && row.getDataKeyValue("Id") != null && row.getDataKeyValue("Id") == id) {
                            $find("<%=RadGrid1.ClientID %>").get_masterTableView().get_dataItems()[i].set_selected("true");
                            break;
                       }
                   }

Any idea?
Thank you.
KR,
JC

Jc
Top achievements
Rank 1
 answered on 03 Jun 2013
4 answers
127 views
I'm not sure what happened, but I'm getting an error when I try to bind a new dataset to a listview on the client side.

I wind up with the error message:
 "0x800a139e - Microsoft JScript runtime error: Sys.ArgumentException: Cannot find element with specified ID
Parameter name: ItemPlaceHolderID"
Maria Ilieva
Telerik team
 answered on 03 Jun 2013
4 answers
377 views
Hy,
I am having troubles to get a Radbutton working together with a javascript confirm dialog. The intention is, to show the confirm dialog prior to executing the delete command (which the radbutton represents). However, altough I am using the same Code, I already found in this forum, the button simply creates the postback, without even showing the dialog. The Code i use is:

<telerik:RadButton ID="BtnDelete" runat="server" OnClientClick="javascript:if(!confirm('This action will delete the selected customer. Are you sure?')){return false;}" Skin="Outlook" Text="Löschen" onclick="BtnDelete_Click">
</telerik:RadButton>

For testing purposes, I tried a default Button, which works without any troubles:

<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return confirm('Are you sure to Continue?');" />

Does anybody have any suggestions what to do?

If it is from interest:
I am using the Controls in a Webpart for a Sharepoint 2010 environment.
Manish
Top achievements
Rank 1
 answered on 03 Jun 2013
6 answers
318 views

I've a RadGrid and a ItemTemplateColumn which contains a RadTextBox, I'm binding the grid on client side by using a Webservice and on "OnRowDataBound" event i want to set value in the textbox (that is present inside the ItemTemplate)

 

<telerik:RadGrid ID="dgvDataEntry" runat="server">

    <MasterTableView>

        <Columns>

        <telerik:GridTemplateColumn HeaderText="Attribute Name" DataField="AttrName" UniqueName="AttrName">

            <ItemTemplate>

                <telerik:RadTextBox ID="RadTextBox1" runat="server" />

        </ItemTemplate>

        </telerik:GridTemplateColumn>

        </Columns>

    </MasterTableView>

<ClientSettings>

    <ClientEvents OnRowDataBound="RadGrid1_RowDataBound" />

</ClientSettings>

</telerik:RadGrid>

here is my OnRowDataBound event

function RadGrid1_RowDataBound(sender, args) {

var txt = args.get_item().findControl("RadTextBox1"); //I always get "null" here
}

Is it the wrong way to access the control inside the ItemTemplate? Let me know where i'm doing wrong?

 

 

 

 

 

 

 

 

 

Sadaf
Top achievements
Rank 1
 answered on 02 Jun 2013
2 answers
65 views

I have populated the FontNames tool with a list in toolsfile.xml (standard fonts like Arial, etc), plus some additional fonts using FontNames.Add() in code. The additional fonts are hosted elsewhere, and are loaded with css @font-face statements.

All the fonts appear in the drop down list, and are correctly applied to content, so the important part is working well.

The problem occurs when you put your cursor in some text which has a font applied. If it is one of the common fonts, the FontName tool correclty displays the name of the font. If it is one of the uncommon fonts I added to the list, the tool shows somethng like this: "Thread-00002640-Id-0000017d" instead of the actual font name.

 
Works correclty in Forefox and Webkit browsers

Any ideas on how to get IE to display the proper font name?

I am using version 2012.3.1308.40

Dan Ehrmann
Top achievements
Rank 1
 answered on 01 Jun 2013
1 answer
281 views
I am expecting a NO this can't be done because the radgrid is a databound control,

if you have grid with 17 rows in it and I just want want to rebind row 5 only and nothing else.. is this possible? (Client Side fyi)

Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Jun 2013
1 answer
273 views
Hi,

I am trying to check some combo items from a Radcombobox inside a GridTemplateColumn but unfortunately I cannot get it to work. Instead when I directly set the checked attribute on a checkbox I obtain the correct functionality. The RadGrid is bound to a datasource which all combo items are defined with boolean values (SyncVariantLocalizations, SyncVariantPictures, etc).

Code working:
<asp:CheckBox ID="CheckBox5" runat="server" Enabled="false" Checked='<%# Eval("SyncVariantLocalizations")%>' />

Code not working:
<telerik:GridTemplateColumn UniqueName="SyncSetting" HeaderText="Sync Settings" HeaderStyle-Width="232">
                                    <ItemTemplate>
                                        <div style="float: right;">
                                            <telerik:RadComboBox ID="RadComboBoxSyncConf" runat="server" Width="220px" CheckBoxes="true" EnableCheckAllItemsCheckBox="false" DropDownAutoWidth="Enabled">
                                                <Items>
                                                    <telerik:RadComboBoxItem Text="Product Localizations" Value="SyncProductLocalizations" Checked='<%# Eval("SyncProductLocalizations")%>' Enabled="false" />
                                                    <telerik:RadComboBoxItem Text="Product Pictures" Value="SyncProductPictures" Checked='<%# Eval("SyncProductPictures")%>' Enabled="false" />
                                                    <telerik:RadComboBoxItem Text="Product Categories" Value="SyncProductCategoryMap" Checked='<%# Eval("SyncProductCategoryMap")%>' />
                                                    <telerik:RadComboBoxItem Text="Product Manufacturers" Value="SyncProductManufacturerMap" Checked='<%# Eval("SyncProductManufacturerMap")%>' />
                                                    <telerik:RadComboBoxItem Text="Variant Localizations" Value="SyncVariantLocalizations" Checked='<%# Eval("SyncVariantLocalizations")%>' />
                                                    <telerik:RadComboBoxItem Text="Variant Pictures" Value="SyncVariantPictures" Checked='<%# Eval("SyncVariantPictures")%>' />
                                                    <telerik:RadComboBoxItem Text="Variant Attributes" Value="SyncVariantCustomAttributes" Checked='<%# Eval("SyncVariantCustomAttributes")%>' />
                                                </Items>
                                            </telerik:RadComboBox>
                                        </div>
                                    </ItemTemplate>
 
                                </telerik:GridTemplateColumn>


Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?