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

I want to get the checkbox item in 2 hierarchy radgrid.
For example:
I need to read step by step to reach the item:
1st mastertable->2nd detailtable -> item

------------------------------------
MasterTable
    -> DetailTable1
        ->item1
        ->item2
    -> DetailTable2
        ->item1
        ->item2

I was try with this code:
var checkbox = sender.get_detailTables()[i].get_element().getElementByTagName("INPUT")[j];

but this is only return the 1st 2 items in DetailTable1.

I was try also with this code, but it is a wrong syntax:
var checkbox = sender.get_masterTableView().get_dataItem()[args.get_itemIndexHierarchical()].get_detailTables()[i].get_element().getElementByTagName("INPUT")[j];


Please help me.
Yavor
Telerik team
 answered on 03 Jul 2008
1 answer
112 views
    Hi, I am facing overlap problem of rad menu control over rad winow.

I am using ajax manager and rad window manager in the page from where i am opening radwindow for pas popup. I set style to move so i can drag and move radwindow popup on the parent page. On parent page i took rad menu and when i try to drag over the area where rad menu is, rad windows goes beyond rad menu bar.
Atanas Korchev
Telerik team
 answered on 03 Jul 2008
1 answer
78 views
In the Detail View example at http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Hierarchy/NestedViewTemplate/DefaultCS.aspx 
how would you go about setting the datasource of a control in the NestedViewTemplate to the same datasource as the RowItem. I am setting the RadGrid datasource in the NeedDataSource event.
cheers
Yavor
Telerik team
 answered on 03 Jul 2008
1 answer
89 views
Hi,

I have a tabstrip/multipage with 4 tabs. Each tab is a user control that has their own javascript block. The main page has a script that calls one of the user control's javascript. After ajaxifying the main page, the scripts on pages 2 thru 4 are no longer found. I've tried placing the the javascript in RadCodeBlocks with no success. What's the trick to getting this to work?

Thanks,
Bruce
Vlad
Telerik team
 answered on 03 Jul 2008
1 answer
141 views
I have a user control that contains some of the Rad controls and therefore requires a ScriptManager object.  I use this control on a number of pages throughout my application.  About half of the pages already contain a ScriptManager to support other Rad controls.  The other half doesn't require any Rad controls so obviously I didn't add a ScriptManager.  Now with this user control I'm having trouble on the pages that already have a ScriptManager because only one per page is supported.

What is the best method to handle this?
Vlad
Telerik team
 answered on 03 Jul 2008
3 answers
169 views
It would be great if the gridview supports modal popup edit like the ones done by ajax control toolkit (modal-popup) extender. It would be good if EditMode="ModalPopup" had been supported. Is there any other way to do it, using ajax control toolkit. Might be by using javascript..
Thanks.
Svetlina Anati
Telerik team
 answered on 03 Jul 2008
1 answer
86 views
Hi,
is it posible to use the required field validator with TreeView.
I need that the user selects min. one "Node".
Do i really need to use a custom validator?

Many Thanks!
Veselin Vasilev
Telerik team
 answered on 03 Jul 2008
3 answers
103 views
Hi All,
  
             I have a rad tooltip in a radgrid in my dnn module and i find that i am not able to tooltipify it in a correct position in IE where as in firefox it works correctly. please let me know about why this happens my TELERIK.WEB.UI.dll version "2008.1.515.20". can anybody please help so that my it can be positioned correctly. I am using a trial version now which has been downloaded on june 9th and if this is done my client is ready to purchase the license too.

Thanks,
Sandeep.M
sandeep
Top achievements
Rank 1
 answered on 03 Jul 2008
3 answers
202 views
Using the RadControls for ASP.Net 2008 Q1, version 2008.1.515.20.  When registering the Telerik.Web.UI assembly in my page, I add a Radgrid but I receive a message the the tag is unrecognizable, yet the web site, along with the grid runs fine.  I can not get the intellisense to work because of this and all grid items have a green line with the message that the tags are unrecognizable.  The Telerik,Web.UI dll is referenced in the project.  Here's the page html.  This is quite frustrating.

<%

@ Page Language="C#" MasterPageFile="~/Masters/Site.Master" AutoEventWireup="true" CodeBehind="Forms.aspx.cs" Inherits="MIDI_Internal.Lookups.NSNs.Forms" Title="MIDI - Manage Forms" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<

asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content>

<
asp:Content ID="Content2" ContentPlaceHolderID="cphPageTitle" runat="server"> Manage Forms
</asp:Content>

<

asp:Content ID="Content3" ContentPlaceHolderID="cphMainBody" runat="server"> <asp:ObjectDataSource ID="ObjectDataSourceLookup" runat="server" DeleteMethod="Delete" InsertMethod="Insert" SelectMethod="GetDT" UpdateMethod="Update" TypeName="MIDI_Internal.BLL_Form" >

<
DeleteParameters>
<asp:Parameter Name="FormID" Type="Int32" />
</DeleteParameters>

<UpdateParameters>
<asp:Parameter Name="FormID" Type="Int32" />
<asp:Parameter Name="Form" Type="String" />
</UpdateParameters>

<SelectParameters>
<asp:Parameter Name="FormID" Type="Int32" />
</SelectParameters>

<InsertParameters>
<asp:Parameter Name="Form" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>

<
asp:DropDownList ID="ddRadGridStyles" runat="server" AutoPostBack="True" onselectedindexchanged="ddRadGridStyles_SelectedIndexChanged"> </asp:DropDownList>

<telerik:RadGrid ID="RadGridLookup" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" GridLines="None" Skin="Vista" EnableAJAX="True" width="60%" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" DataSourceID="ObjectDataSourceLookup" OnItemDeleted="RadGridLookup_ItemDeleted" OnDeleteCommand="RadGridLookup_Delete" OnInit="RadGridLookup_Init" PagerStyle-Mode="NextPrevNumericAndAdvanced" OnColumnCreated="RadGridLookup_ColumnCreated" >

<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>

<PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
<MasterTableView AllowMultiColumnSorting="True" PageSize="15" CommandItemDisplay="TopAndBottom" AutoGenerateColumns="False" DataKeyNames="FormID" DataSourceID="ObjectDataSourceLookup">

<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="False" Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" UpdateImageUrl="~\RadControls\Skins\Vista\Grid\Update.gif" EditImageUrl="~\RadControls\Skins\Vista\Grid\Edit.gif" InsertImageUrl="~\RadControls\Skins\Vista\Grid\AddRecord.gif" CancelImageUrl="~\RadControls\Skins\Vista\Grid\Cancel.gif" UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>

<telerik:GridBoundColumn DataField="FormId" DataType="System.Int32" HeaderText="ID" ReadOnly="True" SortExpression="FormId" UniqueName="FormId" Visible="false">
</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Form" HeaderText="Name" SortExpression="Form" UniqueName="Form" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"> </telerik:GridBoundColumn>

<telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this record?" ButtonType="ImageButton" ImageUrl="~\RadControls\Skins\Vista\Grid\Delete.gif" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
<HeaderStyle Width="20px" />
</telerik:GridButtonColumn>

</Columns>

<EditFormSettings>
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>

</MasterTableView>

<
ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>

</telerik:RadGrid>

</

asp:Content>

Daniel
Telerik team
 answered on 03 Jul 2008
1 answer
78 views
Hi telerik team,

Is it possible to get all the code of your load on demand demo tooltip... Because I would like to see what you have put in the code behind file of the ascx file.

thanks a lot....
Tervel
Telerik team
 answered on 03 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?