Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
154 views
I have a RadMenu (AJAX 2008.1) that uses a WebMethod to populate the items. Everything is working with the exception that when the AJAX method returns (and the menu is populated), I get an error saying "baseData is not defined". This happens both on IE and FF on line 1858 of the .axd file. Here is the line of code: 

baseData["navigateUrl"]=_1c8;

Has anyone else had this error?

The result of the error is that my loading template never disappears.

Here is the definition of the menu:

<telerik:RadMenu runat="server" ID="rm" Skin="Default">
<WebServiceSettings Path="MenuService.asmx" Method="GetMainMenuItems" />
    <LoadingStatusTemplate>
    Loading...
    </LoadingStatusTemplate>
</telerik:RadMenu>

Brian Limkemann
Top achievements
Rank 2
 answered on 06 May 2008
5 answers
96 views
Hi,
I've problems to get Load On demand with Data from XML-File.
Do you have Sample-Code concerning this?

Thanks,
Andreas
Nikolay
Telerik team
 answered on 06 May 2008
5 answers
415 views
Has anyone had any luck with using the recurrence engine outside of the scheduler interface?

For instance, while I want my CMS component to be similar to Outlook for actually enterring the calendar data, I want to be able to show a simple, read-only list page, and then give the visitor the ability to click through to a detail page for end-users viewing the data on the website.

I've toyed with the code in the KB article (http://www.telerik.com/support/kb/article/b454K-mga-b454T-cth-b454c-cth.aspx) about showing appointments in GridView, but I haven't gotten much to work outside of displaying the list:

    http://www.downtownpittsburgh.com/events.aspx

I've added a large number of custom fields, all of which I can access, but I've run into trouble trying to figure out the recurrence engine and if there is a way that I can harness it to show the proper dates on that detail page.

If anyone has already treaded these waters, or has any suggestion for how I can handle it, I'd be much obliged.

Thank you, Joseph
Joseph
Top achievements
Rank 1
 answered on 06 May 2008
5 answers
307 views
Hello,
Consider the following html code:
 <telerik:RadComboBox runat="server" AutoPostBack="true" Skin="Hay" ID="rcbEnvironments">  
                <ItemTemplate> 
                    <asp:CheckBoxList runat="server" DataTextField="Name" DataValueField="Id" ID="cblEnvironments" /> 
                </ItemTemplate> 
                </telerik:RadComboBox> 

How do I from codebehind databind the checkboxlist ?

If I try (checkboxlist)rcbEnvironments.FindControl("cblEnvironments"), I get a null.

Thanks,
Nicolas
Nikolay
Telerik team
 answered on 06 May 2008
4 answers
231 views
Hi All,
    
    In asp, usually, we can say myGridView.selectedRow.cells.item(1).text, howver, what's the equivalent expression for ajaxgrid.

Thx in advanced
Kiara
Top achievements
Rank 1
 answered on 06 May 2008
1 answer
236 views
Here's my scenario.
RadGrid with skin set to Inox, allowing adds/updates, EditMode="EditForms" and EditFormSettings as below:

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

<EditColumn UniqueName="EditCommandColumn1" ButtonType="PushButton"></EditColumn>

</EditFormSettings>

 I hit the 'Add' button and all controls display correctly (input controls as well as the 'add' and 'cancel' images).

If I change the skin to WebBlue and hit 'Add', I don't get an image for the 'insert' button, only the 'cancel' button.

I've tested several other skins and most of them are acting the same way as WebBlue.  I can get Inox and Black to work as I would expect them to.

What am I missing?
Sheryl

What am I missing?

Kiara
Top achievements
Rank 1
 answered on 06 May 2008
1 answer
401 views
Hi,

I want to change row color when i checked the checkbox inside the radgrid by using javascript. How can i detect which row selected and what is the code to change selected row in radgrid to other color?

Below is my radgrid check box column...

** Need in javascript code

<radG:GridTemplateColumn AllowFiltering="false" UniqueName="CheckBoxTemplateColumn">

<HeaderTemplate>

<input id="chkAllItems" type="checkbox" onclick="CheckAllDataGridCheckBoxes('chkItemChecked',document.forms[0].chkAllItems.checked)" />

</HeaderTemplate>

<HeaderStyle Width="15px" />

<ItemTemplate>

<input id="chkItems" type="checkbox" runat="server" onclick="SelectedRowCount();" />

</ItemTemplate>

<ItemStyle Width="15px" />

</radG:GridTemplateColumn>


Please help.
 
Thanks,
Soo

Kiara
Top achievements
Rank 1
 answered on 06 May 2008
4 answers
418 views

Hi Everyone,

How to loop through the bound checkboxes in the template column

I have checkboxes in the radgrid which are bound to a table. They have to be editable.

Later I need to loop through them to find out whether they are checked or not and then depending on that I have to update the database.

Please tell me how to go about this.

The code snippet is as follows:

<telerik:radgrid id="RadGrid1" runat="server" allowpaging="True" gridlines="None" autogeneratecolumns="False" skin="Default2006" showstatusbar="True" >

                <clientsettings allowcolumnsreorder="True" reordercolumnsonclient="True">

                </clientsettings>

                <mastertableview datakeynames="MenuSysID" commanditemdisplay="Top">

                <commanditemtemplate>

                    <div style="padding: 10px 0px;">

                        <asp:linkbutton runat="server" id="lnkEdit" commandname="Save">

              <img style="border:0px;vertical-align:middle;" alt="" src="Img/icon_edit.gif" />

              Save

                        </asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                </commanditemtemplate>

                    <columns>

                        <telerik:gridtemplatecolumn datafield="MenuCaption" forceextractvalue="Always" headertext="Menu"

                            uniquename="MenuCaption">

                            <itemtemplate>

                                <asp:label id="MenuCaptionLabel" runat="server" text='<%# Eval("MenuCaption") %>'></asp:label>

                            </itemtemplate>

                        </telerik:gridtemplatecolumn>

                        <telerik:gridtemplatecolumn headertext="Input" uniquename="TemplateColumn1">

                            <itemtemplate>

                                <asp:checkbox id="CheckBox1" runat="server" checked='<%# Eval("Input") %>' />

                            </itemtemplate>

                            <edititemtemplate>

                            <asp:checkbox id="CheckBox1" runat="server" checked='<%# Eval("Input") %>' />

                            </edititemtemplate>

                        </telerik:gridtemplatecolumn>

                        <telerik:gridtemplatecolumn headertext="Approve" uniquename="TemplateColumn2">

                            <itemtemplate>

                                <asp:checkbox id="CheckBox2" runat="server" checked='<%# Eval("Approve") %>' />

                            </itemtemplate>

                            <edititemtemplate>

                            <asp:checkbox id="CheckBox2" runat="server" checked='<%# Eval("Approve") %>' />

                            </edititemtemplate>

                        </telerik:gridtemplatecolumn>

                        <telerik:gridtemplatecolumn headertext="Delete" uniquename="TemplateColumn3">

                            <itemtemplate>

                                <asp:checkbox id="CheckBox3" runat="server" checked='<%# Eval("Delete") %>' />

                            </itemtemplate>

                            <edititemtemplate>

                            <asp:checkbox id="CheckBox3" runat="server" checked='<%# Eval("Delete") %>' />

                            </edititemtemplate>

                        </telerik:gridtemplatecolumn>

                        <telerik:gridtemplatecolumn headertext="View" uniquename="TemplateColumn">

                            <itemtemplate>

                                <asp:checkbox id="CheckBox4" runat="server" checked='<%# Eval("View") %>' />

                            </itemtemplate>

                            <edititemtemplate>

                            <asp:checkbox id="CheckBox4" runat="server" checked='<%# Eval("View") %>' />

                            </edititemtemplate>

                        </telerik:gridtemplatecolumn>

                    </columns>

                  

                    <expandcollapsecolumn resizable="False" visible="False">

                        <headerstyle width="20px" />

                    </expandcollapsecolumn>

                    <rowindicatorcolumn visible="False">

                        <headerstyle width="20px" />

                    </rowindicatorcolumn>

                </mastertableview>

            </telerik:radgrid>

3i infotech
Top achievements
Rank 1
 answered on 06 May 2008
1 answer
153 views
Hi,

Currently I have a RAD grid binding its detail tables perfectly, but what I now require is the ability to dynamically add detail table's to specific rows in the table at the same hierachical level as the existing table. The way I have implemented thus far is use a button on each grid row that fires a javascript event which in theory should add another detail table to the row and bind it based on the same format of information in the existing detail table.

It seems that the RAD grid does not support the addition of detail tables on a per row basis, is this correct?

Kind regards,

Dave
Nikita Gourme
Top achievements
Rank 1
 answered on 06 May 2008
5 answers
299 views
Hi,
I'm using the RadGrid from prometheus Q3 2007. What I want to do is to add a row in the header of the grid to group the colomuns. Exemple:

<table>
<tr>
    <td colspan="2">group1</td>
    <td colspan="2">group2</td>
</tr>
... Followed by the standart header, assuming that my grid has 4 columns...

I'm creating my grid programmatically and adding it to a placeholder like the exemple showed here in the section "Creating ItemTemplate/EditItemTemplate of GridTemplateColumn programmatically".

I' using visual studio 2008, framework 3.5.

Thanks,

Pascal.
Nikita Gourme
Top achievements
Rank 1
 answered on 06 May 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?