Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
158 views
Here's a post I wrote about capturing asp.net form authentication timeout when doing Load on demand for RadTreeView or RadComboBox:

Ofer Bar
Top achievements
Rank 1
 asked on 05 Nov 2009
8 answers
197 views
Hello,


I got a website running with a scheduler and webservice by following your attached example here:

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/webservice-sql-database-and-recurrence.aspx

I extended the reuqest info to the webservice by implementing the method from this thread:

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/sending-extra-info-to-the-web-service.aspx


Everything works great. But now I want to publish a seperate webservice to handle the appointment logic and consume it in my seperate web application.

But when I set the path info like this:

<WebServiceSettings Path="http://www.myurl.nl/ServicePath/MyService.asmx"                
             ResourcePopulationMode="ServerSide"  /> 

I get an error saying
Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed 

So when I try to leave out the http:// part I get Server error 500. Probably because it can't find the webservice. Can the path variable only contain absolute uri? If not how do I tell the scheduler to use an external webservice?

Thx for any help
Yeroon
Top achievements
Rank 2
 answered on 05 Nov 2009
3 answers
531 views
This is a two part question:

1.  How do can show the group header and yet prevent the group from collapsing?

2.  I format my own header and footer for the RadGrid by inserting rows in the ItemCreated event of the rad grid. If I do this, the original headeing for the RadGrid does not appear.  However, if the collpase header icon on the group header is clicked so hte group collapses, the radgrid header I created disappears and so does the footer.  How can I prevent this from happening?  Can this be prevented, is a call back is triggered?  If yes, then how do I trigger a call back when collapse / expand icon in the group header is clicked.

Thanks.

Suresh
Martin
Telerik team
 answered on 05 Nov 2009
3 answers
254 views
I have a grid with a GridClientSelectColumn. The grid has paging turned on. If I select some items from page 1, go to page 2, then back to page 1 then the items are no longer selected. I fail to understand this. Why have a column type like this if it isn't going to maintain state when paging?
Sebastian
Telerik team
 answered on 05 Nov 2009
3 answers
164 views
Hi,

First of all, I'm using Telerik Web controls v.2009.2.1007.20. I have a web site which contains AjaxPanels, GridViews, Charts, Menus and Tabs. Contents of the web site is updating every 10 seconds. asp:UpdatePanel-s are NOT used at all. So on the client side(IE) I'm experiencing memory leak and if the web site is open overnight IE utilizes about 1GB ram and becomes unresponsing and uses 100% CPU. 

I tested the web page using DRIP utility and its claiming that I have a DOM leak and elements like IEFrame and TBODY are not cleaned up after garbage collection. 

Please help resolving this annoying issue. 

Thanks in advance,
Ruben Hakopian.

Tsvetoslav
Telerik team
 answered on 05 Nov 2009
2 answers
127 views
I have noticed that when no skin is selected for a RadGrid, the div containing "go first and go previous" paging buttons does not have a class assigned.  The div for the page numbers and the div for the "go next and go last" buttons do have classes (rgNumPart and rgArrPart2).  Is this a bug?  Is there another way to set the style on the div containing the "go first and go previous" paging buttons without creating a custom skin?

I have included a screen shot from IE Developer toolbar showing the Div without the class assignment highlighted in gray.

Sincerely,

Sean M. Severson
Sean Severson
Top achievements
Rank 1
 answered on 05 Nov 2009
1 answer
170 views
Hi,

I'm using a RadEditor inside an asp:Panel which is displayed using an AJAX ModalPopupExtender.  In order to populate the content of the RadEditor I'm using a Web Service

Here is the ASPX code: 
<asp:LinkButton ID="lkbIntroText" runat="server">Intro Text</asp:LinkButton>  
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lkbIntroText"  
    PopupControlID="PopUpPanel" BackgroundCssClass="modalBackground" DropShadow="true"  
    DynamicServicePath="SurveyIntroText.asmx" DynamicServiceMethod="GetSurveyIntroText"  
    DynamicControlID="RadEditor1" OkControlID="lbtOK" OnOkScript="onOk()">  
</cc1:ModalPopupExtender>  
<asp:Panel ID="PopUpPanel" runat="server" CssClass="modalPopup">  
    <asp:Panel ID="pnlWindowHeader" runat="server" CssClass="modalTop">  
        <div style="padding: 2px; height: 16px;">  
            <asp:Literal ID="ltlLabel" runat="server"></asp:Literal>  
            <asp:LinkButton ID="lbtOK" runat="server" Text="[ x ]" Style="height: 15px; float: right;  
                text-decoration: none;" />  
        </div>  
    </asp:Panel>  
    <div class="space20px">  
    </div>  
    <div>  
        <asp:Label ID="test" runat="server"></asp:Label>  
        <telerik:RadEditor ID="RadEditor1" runat="server" ToolbarMode="ShowOnFocus" ToolsFile="~/App_Data/RadControls/ConfigXML/default.xml"  
            Height="200">  
            <CssFiles>  
                <telerik:EditorCssFile Value="~/EditorContentArea.css" />  
            </CssFiles>  
        </telerik:RadEditor>  
    </div>  
    <div style="text-align: center;">  
        <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />  
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" CausesValidation="false" />  
        <asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="button_delete"  
            CausesValidation="false" />  
    </div>  
</asp:Panel>  



Here is the Web Service:
<%@ WebService Language="C#" Class="SurveyIntroText" %>  
  
using System;  
using System.Web;  
using System.Data;  
using System.Data.SqlClient;  
using System.Web.Services;  
using System.Web.Services.Protocols;  
using Carswell.Web.Student.Modules.Survey;  
  
[WebService(Namespace = "http://tempuri.org/")]  
[System.Web.Script.Services.ScriptService]  
public class SurveyIntroText  : System.Web.Services.WebService {  
  
    [WebMethod]  
    public string GetSurveyIntroText()  
    {  
        SurveyResultsDb oS = new SurveyResultsDb();  
        SqlDataReader dr = oS.GetSurveyIntroText(30);  
        if (dr.HasRows)  
        {  
            dr.Read();  
            return dr["IntroText"].ToString();  
        }  
        else  
        {  
            return "";  
        }  
    }  
      


When I assign the DynamicControlID = "RadEditor1" in the ModalPopupEditor, it doesn't populate the Content of the RadEditor.  I need the data retrieved from the Web Service to populate the RadEditor.Content
Any ideas? 

Thank you,
Jeya
Rumen
Telerik team
 answered on 05 Nov 2009
1 answer
105 views
Hello,

We recently upgraded from 2008.2.1125.35 to the latest release (well at that time, Q2, but will go to Q3).  My co-worker created a custom skin, and it didn't properly work for our controls.  Is that correct?  When upgrading major versions, do you have to upgrade your style sheets?

Also, it seems the visual style builder doesn't cover every single style option that is in the Telerik framework?  For instance, my co-worker mentioned to me it didn't include grouping styles for the rad grid?  Is there a solution to this?  Or at least, upgrading the control toolsuite, what would you recommend?  Would you use the visual style builder to create the styles, or an alternative approach?

Thanks.
Dimo
Telerik team
 answered on 05 Nov 2009
2 answers
181 views
Hi guys,

I have a problem finding a usercontrol added dynamically into a dockzone. I have a tabstrip in which I on demand loading usercontrols like shown in the demo TabStrip / Load on Demand RadPageView. I reach the usercontrol fine by "var tab2UserControl = this.Page.FindControl("Tab2_userControl");" if the Tabstrip (and by that the usercontrol) is placed directly at the page, but do I place the tabstrip in a raddock placed in a raddockzone, the FindControl returns null.

Any idea what to do?! I have tried a lot of different things, but nothing helps?! :-(
Ahrensberg
Top achievements
Rank 1
 answered on 05 Nov 2009
2 answers
187 views
When I set the MaxValue property of a RadNumericTextBox to a number with 2 digits, for example 401.33, I'am only allowed to set the Value to 401 and not to 401.33. It seems that MaxValue is rounded to 401.

This seems to be a bug. Is this a known problem?

In the example below entering 401.33 as value is not allowed.

Asp.Net page:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NumericTextBox.aspx.cs" Inherits="WebApplication.NumericTextBox" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
    <telerik:RadScriptManager ID="radScriptManager" runat="server"></telerik:RadScriptManager> 
    <telerik:RadNumericTextBox runat="server" ID="radNumericTextBox" NumberFormat-DecimalDigits="2" Type="Number" MaxValue="401.33"></telerik:RadNumericTextBox> 
    <asp:Label ID="label" runat="server"></asp:Label> 
    <asp:Button ID="button" runat="server" /> 
    </div> 
    </form> 
</body> 
</html> 

Code behind:

    public partial class NumericTextBox : System.Web.UI.Page  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            if(Page.IsPostBack)  
            {  
                label.Text = radNumericTextBox.Value.ToString();  
            }  
        }  
    } 
Marcel
Top achievements
Rank 1
 answered on 05 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?