Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
67 views
hi,
i have a problem that i have been trying to solve for days.
there is a page that is made by someone else which uses a radgrid to show data from database. it uses stored procedure to gather the data. now i must add two new columns to this table. i've added the columns and changed the stored procedure. and when i look at the page i saw that the new columns are added but nothing changed in the data that comes from stored procedure. the changes that i made in stored procedure never effects the dataset. i have a master table that uses sp named "x" and detail table uses sp named "y". i tried to change both but both doesn't effect the dataset. i'm totally sure that connection string, query etc. is absolutely true. please find a solution for me.
Semih
Top achievements
Rank 1
 asked on 27 Dec 2011
0 answers
78 views
Hello,

I am adding the User Control which contains Tabstrip as well as the grid to the sharepoint 2010 webpart page. In the OnInit event of the webpart, we have some custom requirement in the Init event due to that I am unable to add the ajax loading panel and ajax manager in it.Please add the necessary Telerik assembly references, build and deploy the WebPart under SharePoint 2010.Presently which tab has been selected depends on it I will generate Radgrid and add it on the multipage on the tabclick event. In the grid contains 100000 records assigned as a datasource so I need to show the loading panel in the grid. I am dynamically adding radgrid so how could I add loading panel to the radgrid ?

I need to add the loading panel in the tabstrip control when the following events occurs

1. Grid Page Size Changed
2. Grid Page Index Changed
3. At the time of Tabclick Event
4. Filtering the Column in the grid.

 I have attached the sample project which replicates the actual requirement.


Could you provide a solution for this issue as soon as possible.So how to add ajax loading panel while dynamically adding grid to the tabstrip ? 

Regards
Ramalingam S  
Achuthan
Top achievements
Rank 1
 asked on 27 Dec 2011
0 answers
147 views
Hello,

I am adding the User Control which contains Tabstrip as well as the grid to the sharepoint webpart page. In the OnInit event of the webpart, I have some custom requirement in the Init event due to that I am unable to add the ajax loading panel and ajax manager in it.Please add the necessary Telerik assembly references, build and deploy the WebPart under SharePoint 2010.Presently which tab has been selected depends on it I will generate Radgrid and add it on the multipage on the tabclick event. In the grid contains 100000 records assigned as a datasource so I need to show the loading panel in the grid. I am dynamically adding radgrid so how could I add loading panel to the radgrid ?

I need to add the loading panel in the tabstrip control when the following events occurs

1. Grid Page Size Changed
2. Grid Page Index Changed
3. At the time of Tabclick Event
4. Filtering the Column in the grid.

 I have attached the sample project which replicates the actual requirement.


Could you provide a solution for this issue as soon as possible.So how to add ajax loading panel while dynamically adding grid to the tabstrip ? 

Regards
Ramalingam S 
Achuthan
Top achievements
Rank 1
 asked on 27 Dec 2011
1 answer
92 views
HI,
In grid i am taken on bound column . In this one row contain name like "Sample         Text"  but its displaying "Sample Text" . Here Problem is that if have any space in the row values . its displaying only one space .

Problem in Live Demo also Please check below link
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx

In this example please double click on row for edit In Product Column having value "Chai" .
i am enter new value like that "Testing    double     space "  but its displaying only single space like that "Testing double space".

Princy
Top achievements
Rank 2
 answered on 27 Dec 2011
3 answers
102 views
Hello Telerik team,

I have created a telerik grid and customized it to implement hierarchy (The default Telerik hierarchical gridview does not solve our requirements). Within header template I have included the required column headers and column data within multiple item templates. I am using javascript to implement Expand and collapse functionality.

Now, there is a requirement to implement scrolling within this hierarchical grid. I have enabled the 'AllowScroll' property to 'true' as follows:
<ClientSettings>
          <Scrolling AllowScroll="True">
          </Scrolling>
 </ClientSettings>

this is working fine. but, when I set 'UseStaticHeaders' property to 'true' (to get static headers), the whole content of grid gets shrinked. And on expanding and collapsing multiple tables, the table content gets misaligned with the headers.
Can you help me in implementing scrolling for hierarchical grid views with static headers?
Note: I am using 2009 version of Telerik. Is this issue resolved in any newer version?

Thanks, 
Pooja
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
1 answer
498 views
Tengo un problema con el RadGrid de Asp.Net Ajax: ¿Como hago para agregar otro Radgrid en un <EditItemTemplate> de un <telerik:GridTemplateColumn> para que se muestre en Modo Editar del RadGrid?, tengo una formulario de mantenimiento donde uno de los campos hace referencia a una gran tabla de cientos de registros, necesito desplegar estos registros en un Grid para poder paginarlos o hasta filtrarlos para que se le haga más facil al usuario seleccionar el detalle. Gracias

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Translated by Google!:

I have a problem with the RadGrid for Asp.Net Ajax: How do I add another RadGrid in a <telerik:GridTemplateColumn> <EditItemTemplate> to display the Edit Mode RadGrid?, I have a maintenance form where one of fields refers to a big table of hundreds of records, these records need to deploy a grid to page or to filter them to make it easier for users to select the item. thanks
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
1 answer
94 views
Hi, 

I have this problem with RadGrid: 
1- I have  a editable grid with javascript, when a try to make double click the event don't return the initial values from the grid. Also I dont know how to fill my grid without SessionDataSource. 

 
I need help please,
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
6 answers
126 views
I have a page that contains 2 rotators that I want to move in sync with each other -- when the top one moves, I want that movement to trigger the movement of the bottom one.

I have set up the code to do this except I cannot seem to address the second rotator.  I capture the movement of the first, then try to find the second in the control collection and set it's index -- similar to an example on your site.  But every time I try to find the second rotator, I find that I have grabbed a "div" control instead. 

Can you tell me what I need to do?  This needs to run on pages with and without master pages.

I ahve attached 2 related screen captures below from during execution.

Thanks in advance!

Lynn
<body>
    <script type="text/javascript">
        function OnClientItemShown(sender, eventArgs) {
            var idx = eventArgs.get_item().get_index();
            var oRotator = document.getElementById("<%= RadRotator2.ClientID %>");
            alert(oRotator);
            oRotator.set_currentItemIndex('1');
        }
    </script>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
        <div>
            <br /><br />
            <telerik:RadRotator runat="server" DataSourceID="xmlDataSource1" ID="rotator1" OnClientItemShown="OnClientItemShown"
                ScrollDirection="Left" SlideShowAnimation-Type="Fade" RotatorType="SlideShow"
                FrameDuration="6000" Width="955px" ItemWidth="955px" Height="398px" ItemHeight="398px">
                <ItemTemplate>
                    <div class="itemTemplate">
                        <img src="<%# XPath("Image") %>" alt="<%# XPath("Title") %>" style="border: 0px;" />
                    </div>
                </ItemTemplate>
            </telerik:RadRotator>
            <br /><br />
            <div class="xscrollContainer" >
                <telerik:RadRotator runat="server" DataSourceID="xmlDataSource2" ID="RadRotator2" ScrollDirection="Left"
                    SlideShowAnimation-Type="Fade" RotatorType="SlideShow"
                    FrameDuration="6000" Width="390px" ItemWidth="390px" Height="30px" ItemHeight="30px">
                    <ItemTemplate>
                        <div class="itemTemplate">
                            <%# XPath("Title") %>
                        </div>
                    </ItemTemplate>
                </telerik:RadRotator>
            </div>
            <br /><br />
        </div>
        <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="photos.xml"></asp:XmlDataSource>
        <asp:XmlDataSource ID="xmlDataSource2" runat="server" DataFile="titles.xml"></asp:XmlDataSource>


Lynn
Top achievements
Rank 2
 answered on 27 Dec 2011
4 answers
105 views
Hi. I'm using the scheduler control and would appreciate some help.

Ultimately I would like to implement a custom form to create and edit events but for now the standard forms are fine. However, the data isn't stored in a simple single table and it would be impossible to write an sql to act as a datasource to load the scheduler.

I can build the data in code behind and bind it. That's fine and I'm ok doing that. However, how do I reference the recordId/datakey in events like appointInsert or appointmentDelete? If I have a recordId (primary key in the underlying table) I obviously want to store that in the Appointment and access it in the update/delete event code.

Thanks
Peter
Telerik team
 answered on 26 Dec 2011
10 answers
862 views
Working with version 2009.2.826.20.

I have a RadListBox on a page that I need to enable/disable via javascript.  When the page loads, the control defaults to Enabled="False", which seems to work fine.  However, in the javascript, there doesn't appear to be a way to enable the control itself directly.  The enable/disable functions are on the items only.

So I tried disabling all the items in the RadListBox at load, leaving the control itself enabled.  But when the items are disabled, I can't seem to get the client script to enable them (I can get it to work the other way though for some odd reason - disabling items from an enabled state works OK).

This has been a maddening problem today!  Seems like there should a simple enable/disable functionality on both the server and the client RadListBox object.  Can someone there please provide a working example of how this works?

Thanks,
--nick
Bozhidar
Telerik team
 answered on 26 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?