Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
404 views
Hi,

I want to show a radconfirm dialog which will be written via RegisterClientScriptBlock or RegisterStartupScript.
I dont know what is wrong but I am facing some javascript error.

Regards,

Divyesh Chapaneri
Gourangi
Top achievements
Rank 1
 answered on 28 Aug 2008
3 answers
135 views
I have content loading into a RadSplitter layout and everything appears to render properly in IE7 & Firefox. In IE6 however, the splitter initially appears to be the correct height, but then shrinks down to almost no height at all. Is there a way to keep this from happening?

- Paul
Tsvetie
Telerik team
 answered on 28 Aug 2008
1 answer
151 views
Hi 

When Grid fill 130,000 rows the performance of render is very slowly.

this is Asp.Net code :

<telerik:RadGrid ID="rgrRegistrosPermitidos" runat="server"   
        AllowFilteringByColumn="True" GridLines="None"  EnableLinqExpressions="true" AllowPaging="true" 
        onneeddatasource="rgrRegistrosPermitidos_NeedDataSource" ShowGroupPanel="True"   
        Skin="Office2007" AutoGenerateColumns="False">  
        <GroupPanel Text="Arrastrar una columna si desea agrupar">  
        </GroupPanel> 
        <MasterTableView> 
        <Columns> 
                    <telerik:GridBoundColumn ItemStyle-Width="400px" UniqueName="Empleado" DataFormatString="<nobr>{0}</nobr>" SortExpression="Empleado" HeaderText="Empleado" DataField="Empleado">  
                        <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="400px" UniqueName="proyecto" DataFormatString="<nobr>{0}</nobr>" SortExpression="proyecto" 
                        HeaderText="Proyecto" DataField="proyecto">  
                    <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="200px" UniqueName="Actividad" DataFormatString="<nobr>{0}</nobr>" SortExpression="Actividad" 
                        HeaderText="Actividad" DataField="Actividad">  
                        <ItemStyle Width="180px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridDateTimeColumn ItemStyle-Width="80px"  UniqueName="Fecha" DataFormatString="{0:d}" 
                        SortExpression="Fecha" HeaderText="Fecha" DataField="Fecha"  > 
                        <ItemStyle Width="80px"></ItemStyle> 
                    </telerik:GridDateTimeColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="40px"  UniqueName="Anio"    
                        SortExpression="Anio" HeaderText="Año" DataField="Anio"  > 
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="40px"  UniqueName="Mes"    
                        SortExpression="Mes" HeaderText="Mes" DataField="Mes"  > 
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn ItemStyle-Width="10px"  UniqueName="Horas" SortExpression="Horas" 
                        HeaderText="Horas" DataField="Horas">  
                        <ItemStyle Width="40px"></ItemStyle> 
                    </telerik:GridBoundColumn> 
        </Columns> 
 
        </MasterTableView> 
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True"   
            ReorderColumnsOnClient="True">  
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

Thanks

Ruben Herrera
Shinu
Top achievements
Rank 2
 answered on 28 Aug 2008
5 answers
160 views
I have a tabstrip with two pageviews, and save button. The problem is everytime the save method finishes, tabstrip always displays the contents on the first page view even if the currently selected page view is the second.

How do I resolve this?

Thank you.
RobbMurdock
Top achievements
Rank 1
 answered on 28 Aug 2008
4 answers
159 views
Hi,

I am using RadTreeView and RadAjaxPanel in sharepoint 2007.

I am adding nodes in treeview dynamacally.

I am also adding some controls like image,literal contols on RadTreeNode.

I have added this treeview in RadAjaxPanel using 

RadAjaxPanel1.controls.add method.

I am also using Ajax Timer to update the tree view after every 5 min.

But when I add childnode to ChildNode in TreeView. The values of new added child is not updated after every 5 min.


Waiting for reply

Thanks
Savan


Brock
Top achievements
Rank 1
 answered on 27 Aug 2008
8 answers
267 views

I am using a ASP.Net RAD Grid and in my grid I want to show a menu when I click on any item in the first column. First column is a template column where I am using a label.
I tried using the Rad Tool bar instead of label, but as I have too much data being populated in my grid, putting a Rad Tool bar is becoming too heavy.

Thanks in advance.
Het
Top achievements
Rank 1
 answered on 27 Aug 2008
6 answers
225 views
I am trying to use a RadGrid with paging enabled inside a PopupControlExtender, but it is not working properly.

The grid is displayed fine the first time, but then when I click on the next page button I get a JScript error: "Microsoft JScript runtime error: 'this._postBackSettings.async' is null or not an object" which seems to possibly be caused by an unwanted post back?

The MS GridView works as expected in this setup, paging through the data keeping the popup control open, not causing a full postback.

The setup is fairly simple:

    <form id="form1" runat="server">
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
   
    <div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"></asp:ObjectDataSource>
          
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" GridLines="None" onneeddatasource="RadGrid1_NeedDataSource" PageSize="5" >
                </telerik:RadGrid>
            </ContentTemplate>
        </asp:UpdatePanel>  
       
        <cc1:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="TextBox1" PopupControlID="RadGrid1">
        </cc1:PopupControlExtender>
       
    </div>
    </form> Thanks.

John Thomas
Top achievements
Rank 1
 answered on 27 Aug 2008
3 answers
192 views
We have the Q1 2008 ASP.net controls and the Q2 2008 Ajax controls.

Do you have something that would do this:

I want to display something like a linkbutton. and set an onClientClick event so that it runs a function, and if that function is true, it sends the user to the URL, and if false, it keeps them on the page without doing a postback.

Do you have anything that does this?

I've tried with the hyperlink and the linkbuttons and they just don't do it so I'm hoping you have something in your toolbox that works like this.

thanks.
Moon
Top achievements
Rank 2
 answered on 27 Aug 2008
2 answers
118 views

Installed RadControls back when it was still called "Prometheus" (DLLs have a date of early January) I downloaded the latest version 2008.2723 and am now seeing issues with RadWindow

Radwindow code
      VB
 Dim clickEventHandlerStringEventWeek As String = "javascript:var w = window.radopen('" & _
 Convert.ToString("ProjCalendarDBWeek.aspx") & "', '" & _
 WeekEverntWindowName & "'); w.set_modal(false); w.set_Behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Reload +Telerik.Web.UI.WindowBehaviors.Close); w.moveTo(100, 100); w.setSize(1000, 600); return false;"
WeekEverntHyperLink.Attributes.Add("onclick", clickEventHandlerStringEventWeek)

      ASPX
 <telerik:RadWindowManager ID="RadWindowManager4" runat="server"
            Height="700px" Skin="Default2006" VisibleStatusbar="False" ReloadOnShow="True" Behaviors="close, minimize, Reload, Move"
            Behavior="close, minimize, Reload, Move" IconUrl="images/blank.jpg" >
         <Windows> 

         </Windows> 
        </telerik:RadWindowManager>

Issues

(1) Window opens up with the incorrect height and width
(3) After window has loaded it is sent to a new browser window
(3) Skin="Default2006" can no longer be found. What needs to be applied to my project drive for this to show up again.

Thanks in advance

Marc Goodell
Top achievements
Rank 1
 answered on 27 Aug 2008
1 answer
127 views
Hello,

I've implemented a custom DB provider (based on the sample provided in the live demos), but I'm having a bit of a problem.

I don't have any custom resources. Why would I make a custom provider with no resources you ask? Because in the future I will have resources, but not at the moment. So I went ahead and built my provider, so that when the time comes to add resources, it'll be a relatively painless task. Now on to my problem:

I get the following error when trying to view the scheduler:

[NullReferenceException: Object reference not set to an instance of an object.] 
   Telerik.Web.UI.RadScheduler.BindResourcesFromProvider(IEnumerable`1 providedResourceTypes) +114 
   Telerik.Web.UI.RadScheduler.PerformSelect() +113 
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70 
   Telerik.Web.UI.RadScheduler.EnsureDataBound() +48 
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +55 
   Telerik.Web.UI.RadScheduler.CreateChildControls() +10 
   System.Web.UI.Control.EnsureChildControls() +87 
   System.Web.UI.Control.PreRenderRecursiveInternal() +50 
   System.Web.UI.Control.PreRenderRecursiveInternal() +170 
   System.Web.UI.Control.PreRenderRecursiveInternal() +170 
   System.Web.UI.Control.PreRenderRecursiveInternal() +170 
   System.Web.UI.Control.PreRenderRecursiveInternal() +170 
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041 
 


So, what should I do to fix this. Currently, my provider has the following overloads to handle resources (again, of which I have none):

    Public Overloads Overrides Function GetResourceTypes(ByVal owner As RadScheduler) As IEnumerable(Of ResourceType) 
        Dim resourceTypes As ResourceType() = New ResourceType(0) {} 
 
        Return resourceTypes 
    End Function 
 
    Public Overloads Overrides Function GetResourcesByType(ByVal owner As RadScheduler, ByVal resourceType As StringAs IEnumerable(Of Resource) 
        Return New List(Of Resource)() 
    End Function 

Brad
Top achievements
Rank 1
 answered on 27 Aug 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?