Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
132 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
171 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
112 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
188 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
193 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
1 answer
174 views
Hello people,

In our CMS we got our own validation system so I got a view questions.

- Is it possible to disable the auto clear textbox functionality within the captcha image?
- Is it possible to get the value of the textbox? (server-side)
    - If that is possible can I ask if it is the same as the one on the image? (server-side)

Thanks in advance,
Jeroen Speldekamp
Pero
Telerik team
 answered on 05 Nov 2009
0 answers
192 views
Hi telerik guys !

Earlier I have sent you the thread regareding how can I validate the filename .

Here in this support ticket, I want to validate the foldername also.


Actually, I was just looking at your demos & found that when I try to create the folder with the INVALID characters such as (<,>,",/,';)

there cames an POP-UPS that shows that there are  INVALID characters in foldername !!!

I have attached an SCREEN-SHOT along with THREAD so that you get the clear picture.


All I want is to implement that POP-UP ?

How can I ??

Please help .....

I havent found the CODE for this on to your .CS & .ASPX file .

Please help .....


Ajay Jamwal
Ajay
Top achievements
Rank 2
 asked on 05 Nov 2009
6 answers
250 views
Hi there,

Is it possible to open a RadWindow from server-side code instead of clicking on the element specified in the Window.OpenerElementID?  I need to load some data into the Session just before the window is opened, so that I can refer to it in the code-behind file of the window's destination page.

Thanks,

Ed Graham

Georgi Tunev
Telerik team
 answered on 05 Nov 2009
8 answers
248 views
Hi,

I've got a grid with a GridBinaryImageColumn in it, in the ClientEvents flag is an OnRowClick event to fire some javascript.

The grid works, shows the images and also normally fires the JS function when a row is clicked.  However for some reason the event doesn't get fired when the user clicks on the image in the BinaryImageColumn.  If you click in the whitespace within that column that is around the image the event gets fired but not when clicking on the image itself.

Is this a bug, feature or what?

For the time being I can hookup some event to fire when the user clicks on the image however that stikes me as silly as it will slow the processing of the page down and will probably add extra HTML to the output.

Any suggestions?

Regards,

Jon
Nikolay Rusev
Telerik team
 answered on 05 Nov 2009
4 answers
194 views
Admin ,

i would like how to get the server side events when a file is uploaded,deleted and viewed (in sense when a file name is double clicked ) , i am going to keep track of user action who have done what , i am using RadFileExplorer inside the RadTabStrip , please let me know ASAP , waiting for your reply ,

thanks in advance ,

Ashok.c
Svetlina Anati
Telerik team
 answered on 05 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?