Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
88 views
hi my dear telerik team :     
My RadWindowManager And RadWindow Like Below :
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"
    Behavior="Minimize, Close, Pin, Move"
    Behaviors="Minimize, Close, Pin, Move" Skin="Outlook">
    <Windows>
        <telerik:RadWindow ID="SupportWindow" runat="server"
            NavigateUrl="~/ForRadWindows/Support.aspx" style="display:none;"
            Behavior="Close, Pin" Behaviors="Close, Pin" Skin="Forest">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>

problems :
#1 : SupportWindow does not override it's mother's skin at all...mean i always have Outlook skin instead Forest.
#2 : SupportWindow does not override it's mother's Behaviours at all...
#3 : why we have duplicate BEHAVIOUR and BEHAVIOURS when add them with RadWindowManager ? what is the difference?

thanks in advance

Majid Darab
Top achievements
Rank 1
 asked on 05 Jun 2011
0 answers
76 views
I use automatic insert, which calls an SQL stored procedure. This stored procedure checks if the newly inserted record already exists, if it does, it doesn't insert the record, and returns a NULL for one of the datafields. My question is, how do I capture the SQL result of this NULL datafield so I can display a message to the user?
Nizar
Top achievements
Rank 1
 asked on 05 Jun 2011
0 answers
66 views
Hi ALL,
how can I prevent fire needdatasource event  when I change page index????
Regards
Ghadeer
ghadeer
Top achievements
Rank 1
 asked on 05 Jun 2011
0 answers
71 views
Hi there,
    I have a grid in which there is a nestedViewTemplate that contains a radTab and each of this tab contains another Grid. While binding data to the main grid, all these subgrids are binding one by one for each row in the main grid which consumes more time to execute. Also if I expand one item in the main grid, the data is not binding in the subgrid and the itemDatabound is not firing. But once I change the page index, or sort, then the data is again binding. What I actually want is to stop the bulk binding of the sub grid and it should only bind once I expand the main row for each record.  Below is my code for your reference

 

<telerik:RadGrid runat="server" ID="rdGdMain" ShowFooter="False"

 

 

AllowSorting="True" GridLines="None">

 

 

<MasterTableView AutoGenerateColumns="False" AllowPaging="True" HierarchyLoadMode="serverondemand"

 

 

  Name="MainGrid">

 

 

<NestedViewTemplate>

 

 

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

 

 

<telerik:RadTabStrip runat="server" ID="tabStrip1" MultiPageID="multiPage1"

 

 

SelectedIndex="0">

 

 

<Tabs>

 

 

<telerik:RadTab runat="server" Text="t1" PageViewID="pageView1">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="Final t2" PageViewID="pageView2">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="t3" PageViewID="pageView3">

 

 

</telerik:RadTab>

 

 

</Tabs>

 

 

</telerik:RadTabStrip>

 

 

<telerik:RadMultiPage runat="server" ID="multiPage1" Width="100%">

 

 

<telerik:RadPageView runat="server" ID="pageView1"

 

 

Selected="true">

 

 

<asp:Label ID="lbl1" Text='<%# Eval("id") %>'

 

 

Visible="false" runat="server" />

 

 

<telerik:RadGrid runat="server" ID="rdGd2" AllowSorting="true"

 

DataSourceID="myDS"

 

 

 

 

 OnItemCommand

 

="rdGd2_ItemCommand"

 

 

OnItemCreated="rdGd2_ItemCreated" OnItemDataBound="rdGd2_ItemDataBound">

 

 

<MasterTableView ShowHeader="true" AutoGenerateColumns="False" AllowPaging="true"

 

 

Name="MainGrid" PageSize="10" HierarchyLoadMode="serverondemand" >

 

 

<Columns>

 

.........

 

</Columns>

 




Any help would be highly appreciated
Thanks
By Shafi

Muhamed Shafi
Top achievements
Rank 1
 asked on 04 Jun 2011
0 answers
30 views
radgrid
I want to do the following visual effect is only one row but view
and 3 thanks

Mario Ovalle
1000 Flying in the region of Zone 5
01-May-2001 31-July-2011
Jose
Top achievements
Rank 1
 asked on 04 Jun 2011
1 answer
63 views
i have a grid and image button.on image button click i need to hide some columns of radgrid and another click of the same button i need to make the columns visibility true using javascript.

Can you please send me  sample code to do so as soon as possible.
Gimmik
Top achievements
Rank 1
 answered on 03 Jun 2011
9 answers
295 views
I have a sql varchar(max) field I'm using now to store instructions for an Inspection record. I want to use the RadEditor to edit the instructions but I haven't seen where it shows the kind of SQL field to bind to. Would I want to change it to a binary field?
AkAlan
Top achievements
Rank 2
 answered on 03 Jun 2011
8 answers
95 views
can you please tell me how to set a column in edit mode(in place) on the client through  onrowclick event
Elliott
Top achievements
Rank 2
 answered on 03 Jun 2011
2 answers
606 views
I have a radgrid with an editform  defined in a FormTemplate.  When the editform opens below the grid row based on the user clicking the Edit icon in that grid row, it would be nice to then change the icon just clicked to a cancel icon (the user is now in edit mode - why show edit icon), but ONLY for the item being edited - the other items should still have edit icons.  Is this possible in a RadGrid?  The edit icon is defined in a GridEditCommandColumn. Thanks!
Shira
Top achievements
Rank 1
 answered on 03 Jun 2011
0 answers
117 views
Hello, to get three grids generates the following error (if left alone a no errors):

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.

CodeBlock:

<telerik:RadScriptManager ID="ScriptManager1" runat="server">
                                </telerik:RadScriptManager>
                                <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Skin="Office2007">
                                </telerik:RadAjaxLoadingPanel>
                                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1" EnableAJAX="true">
                                    <div class="mainDiv">
                                        <div class="rotatorBackground" style="background: url(../../Images/main_back.png) no-repeat; width: 880px; height: 539px; padding: 29px 5px 0 0px;">
                                            <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" style="margin-left: 9px;">
                                                <Tabs>
                                                    <telerik:RadTab Text="CRC Recibido">
                                                    </telerik:RadTab>
                                                    <telerik:RadTab Text="CRC Interno">
                                                    </telerik:RadTab>
                                                    <telerik:RadTab Text="CRC Enviado">
                                                    </telerik:RadTab>
                                                    <telerik:RadTab Text="CRC OMS">
                                                    </telerik:RadTab>
                                                    <telerik:RadTab Text="ARCHIVO">
                                                    </telerik:RadTab>
                                                    <telerik:RadTab Text="IMAGENES">
                                                    </telerik:RadTab>
                                                </Tabs>
                                            </telerik:RadTabStrip>
                                            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" >
                                                <telerik:RadPageView ID="RadPageView1" runat="server">
                                                    <telerik:RadGrid ID="GrillaCRCRecibido" runat="server" Width="860" Height="475" PageSize="50" AllowSorting="true" AllowMultiRowSelection="true"
                                                        AllowPaging="true" ShowGroupPanel="true" GridLines="None" GroupingEnabled="true" Style="border: 0; outline:none;" Skin="Office2007" 
                                                        OnNeedDataSource="GrillaCRCRecibido_NeedDataSource">                                                
                                                        <PagerStyle Visible="false" />
                                                        <MasterTableView AllowFilteringByColumn="true" AllowMultiColumnSorting="True">
                                                            <Columns>
                                                                <telerik:GridClientSelectColumn UniqueName="Select">
                                                                <HeaderStyle Width="30px" />
                                                                </telerik:GridClientSelectColumn>
                                                            </Columns>
                                                        </MasterTableView>
                                                        <ClientSettings AllowColumnsReorder="True" AllowAutoScrollOnDragDrop="true" AllowDragToGroup="True" ReorderColumnsOnClient="True">
                                                            <ClientEvents OnScroll="CRCRecibido_Scroll" />
                                                            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="275px"/>
                                                            <Selecting AllowRowSelect="True" />
                                                            <Resizing AllowColumnResize="true" AllowResizeToFit="true" />
                                                            <ClientMessages DragToGroupOrReorder="Arrastre al Grupo" DragToResize="Redimensionar" />
                                                        </ClientSettings>
                                                        <GroupingSettings ShowUnGroupButton="true" />
                                                        <HeaderStyle Width="200px" />
                                                    </telerik:RadGrid>
                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView2" runat="server">
                                                    <telerik:RadGrid ID="GrillaCRCInterno" runat="server" Width="860" Height="475" PageSize="50" AllowSorting="true" AllowMultiRowSelection="true"
                                                        AllowPaging="true" ShowGroupPanel="true" GridLines="None" GroupingEnabled="true" Style="border: 0; outline:none;" Skin="Office2007" 
                                                        OnNeedDataSource="GrillaCRCInterno_NeedDataSource">                                                
                                                        <PagerStyle Visible="false" />
                                                        <MasterTableView AllowFilteringByColumn="true" AllowMultiColumnSorting="True" >
                                                            <Columns>
                                                                <telerik:GridClientSelectColumn UniqueName="Select">
                                                                <HeaderStyle Width="30px" />
                                                                </telerik:GridClientSelectColumn>
                                                            </Columns>
                                                        </MasterTableView>
                                                        <ClientSettings AllowColumnsReorder="True" AllowAutoScrollOnDragDrop="true" AllowDragToGroup="True" ReorderColumnsOnClient="True">
                                                            <ClientEvents OnScroll="CRCInterno_Scroll" />
                                                            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="275px"/>
                                                            <Selecting AllowRowSelect="True" />
                                                            <Resizing AllowColumnResize="true" AllowResizeToFit="true" />
                                                            <ClientMessages DragToGroupOrReorder="Arrastre al Grupo" DragToResize="Redimensionar" />
                                                        </ClientSettings>
                                                        <GroupingSettings ShowUnGroupButton="true" />
                                                        <HeaderStyle Width="200px" />
                                                    </telerik:RadGrid>
                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView3" runat="server">
                                                    <telerik:RadGrid ID="GrillaCRCEnviado" runat="server" Width="860" Height="475" PageSize="50" AllowSorting="true" AllowMultiRowSelection="true"
                                                        AllowPaging="true" ShowGroupPanel="true" GridLines="None" GroupingEnabled="true" Style="border: 0; outline:none;" Skin="Office2007" 
                                                        OnNeedDataSource="GrillaCRCEnviado_NeedDataSource">                                                
                                                        <PagerStyle Visible="false" />
                                                        <MasterTableView AllowFilteringByColumn="true" AllowMultiColumnSorting="True">
                                                            <Columns>
                                                                <telerik:GridClientSelectColumn UniqueName="Select">
                                                                <HeaderStyle Width="30px" />
                                                                </telerik:GridClientSelectColumn>
                                                            </Columns>
                                                        </MasterTableView>
                                                        <ClientSettings AllowColumnsReorder="True" AllowAutoScrollOnDragDrop="true" AllowDragToGroup="True" ReorderColumnsOnClient="True">
                                                            <ClientEvents OnScroll="CRCEnviado_Scroll" />
                                                            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="275px"/>
                                                            <Selecting AllowRowSelect="True" />
                                                            <Resizing AllowColumnResize="true" AllowResizeToFit="true" />
                                                            <ClientMessages DragToGroupOrReorder="Arrastre al Grupo" DragToResize="Redimensionar" />
                                                        </ClientSettings>
                                                        <GroupingSettings ShowUnGroupButton="true" />
                                                        <HeaderStyle Width="200px" />
                                                    </telerik:RadGrid>
                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView4" runat="server">


                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView5" runat="server">


                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView6" runat="server">


                                                </telerik:RadPageView>
                                            </telerik:RadMultiPage>
                                        </div>
                                        <br />
                                        <br />
                                    </div>
                                </telerik:RadAjaxPanel>
                                </center></form>
                                &nbsp;</td>
Felipe Alberto
Top achievements
Rank 1
 asked on 03 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?