Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
147 views
Hi,
    I am using two rad window objects .

<

telerik:RadWindowManager ID="RadWindowManager1" runat="server" Visible="true" ShowContentDuringLoad="false" CssClass="windowcontent"

 

 

BackColor="AliceBlue" Skin="IELSkin" EnableEmbeddedSkins="false" ForeColor="#ff0033" VisibleStatusbar="false" Modal="true" ReloadOnShow="true" Behaviors="Resize,Maximize,Close" Width="350px" Height="300px">

 

 

<Windows>

 

 

<telerik:RadWindow ID="Radwindow1" runat="server" Modal="true" Width="440px" Height="290px" Title ="Upload File" Behavior="Minimize,Reload,Close" ></telerik:RadWindow>

 

 

<telerik:RadWindow ID="Radwindow2" runat="server" VisibleStatusbar="false" Modal="true" Width="500px" Height="350px" Title ="Comments" Behavior="Minimize,Reload,Close" ></telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

After opening both  windows i am getting following error
Error: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: x
Actual value was NaN.
---------------------------
Yes   No  
---------------------------
Due to two windows i am getting this error.
If i used only single window it works fine.
I am opening these windows in following way.

 

window.radopen(

"Page1.aspx","Radwindow1");

 

 

window.radopen("Page2.aspx","Radwindow2");


Thanks

Svetlina Anati
Telerik team
 answered on 22 May 2009
1 answer
177 views
Please, how to search in grid when i start writing and select the searched row?


Thanks.


Josef
Princy
Top achievements
Rank 2
 answered on 22 May 2009
4 answers
112 views
Hi,

I'm trying to use RadToolTipManager with DN 4.05.01 but some problems appears.

I create a DNN module with one label and a RadToolTipManager, I want to use AjaxUpdate event to load dynamically label's tooltip. When my mouse is over the label, the tooltip opened and then close immediatly.

My DNN is Partial rendering, Ajax is enabled. Here's my code:

Test.ascx
<asp:Label ID="Label1" runat="server" Text="Label" ToolTip="OK c'est un test"></asp:Label> 
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" > 
</telerik:RadToolTipManager> 
 


Test.ascx.vb

        Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load  
            RadToolTipManager1.Width = 500  
            RadToolTipManager1.Height = 500  
            RadToolTipManager1.ShowEvent = Telerik.Web.UI.ToolTipShowEvent.OnMouseOver  
            RadToolTipManager1.HideEvent = Telerik.Web.UI.ToolTipHideEvent.ManualClose  
            RadToolTipManager1.TargetControls.Add(Label1.ClientID, True)  
        End Sub 
 
        Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As ObjectByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate  
            Dim oLabel As New System.Web.UI.LiteralControl  
            oLabel.Text = "bravo" 
            e.UpdatePanel.ContentTemplateContainer.Controls.Add(oLabel)  
        End Sub 
 

What's wrong ?

Thanks.

Svetlina Anati
Telerik team
 answered on 22 May 2009
1 answer
239 views
Is it possible to associate the calendar date picker popup with a .Net TextBox control or do you always have to use the RadDatePicker control?

possible example:
<asp:TextBox id="randomTextBox"
randomTextBox.Attributes.Add("onclick""showCalendar();"); 

thanks,
Drew

Dimo
Telerik team
 answered on 22 May 2009
1 answer
165 views
Hi All,

what i am trying to do is have a PanelBar that can extend beyond the bounds of it's container so that scroll bars will be used.  What i want to be able to do is via a click even on client side i want the PanelBar to scroll to a specific PanelItem.  I have tried focus but it doesn't seem to change the scroll at all.  It also needs to open the relevant PanelItem as well.

Any ideas?
thanks
Jordan
Princy
Top achievements
Rank 2
 answered on 22 May 2009
6 answers
360 views
Hi..
How do you turn off the validation on the Grid.
So when you insert/update it does not call the parent's form validation?
thanks
Sebastian
Telerik team
 answered on 22 May 2009
3 answers
109 views
i created a filtration scheme  which filters my grid..lets say i choose in the combo box x ..we get all the activites of type x.. which is working just fine...now when i press edit button(the edit column  is created with  the following code:
<EditItemTemplate><asp:ImageButton   
                ID="update_button" runat="server" Commandname="update"   
                ImageUrl="~/updatebutton.JPG" OnClick="update_button_click" /><asp:ImageButton   
                ID="cancel_button" runat="server" CausesValidation="false" CommandName="cancel"   
                ImageUrl="~/cancelbutton.JPG" /> 
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:ImageButton ID="edit_button" runat="server" Commandname="edit"   
                    ImageUrl="~/editbutton.JPG" onclick="edit_button_click" /> 
            </ItemTemplate> 
                        <HeaderStyle Height="10px" Width="45px" /> 
                        <itemstyle BorderColor="gray" BorderStyle="NotSet" borderwidth="1px"   
                            Font-Size="9px" Height="10px" VerticalAlign="Top" Width="45px" /> 
            </telerik:GridTemplateColumn> 
when i press edit all the filtration is removed and the column with the same index as the one i hit edit on (but with deferant data without filtration apears).... now what am i doing wrong please help me guys i have asked 2 questions in the last 3 days on this forum and got no responses so i had to alter everything i am doing but i am at a very critical point of my work right now pleaase help me asap
Yavor
Telerik team
 answered on 22 May 2009
10 answers
168 views
We developed an .NET email application using the Telerik editor to communicate with our external clients. Today we sent an email to some recipients and found most clients received the email with correct content. But a few clients found part of the content of their emails was replaced with junk characters.

Here is what we did in the email. We created the email in MS Word and pasted the content into the Editor control. We checked the content sent out and verified thel content was sent to all recipients with the right information.

We did some investigation and found that when the email was received by the email client application (MS Exchange Server) of our clients, the content in a line will be replaced by the character b from the “ character (copy/paste i MS word to Telerik Editor) to the end of the line. That means the character from MS Word caused the problem.

Did anyone have this problem before? If so, how to get it fixed. Thanks.



Chris
Rumen
Telerik team
 answered on 22 May 2009
2 answers
154 views

I am trying to export a PDF file but it does nothing when I click the button.  I put the image inside the CommandDisplay area b/c that is where the customer wants it.  Any help would be greatly appreciated.

    <MasterTableView .... CommandItemDisplay="Top">  
        <CommandItemTemplate>                                       
            <asp:ImageButton ID="btnPDF" runat="server" ImageUrl="~/Images/Pdf.png" OnClick="btnPDF_Click" />
        </CommandItemTemplate>
       
        protected void btnPDF_Click(object sender, ImageClickEventArgs e)
        {
            ConfigureExport();
            rgrdData.MasterTableView.ExportToPdf();
        }

        public void ConfigureExport()
        {
            rgrdData.ExportSettings.ExportOnlyData = true;
            rgrdData.ExportSettings.IgnorePaging = true;
            rgrdData.ExportSettings.OpenInNewWindow = true;
           
        }       

Daniel
Telerik team
 answered on 22 May 2009
3 answers
97 views
I have a chart with X values ranging from -160 to 0. The type of the chart is StackedArea. However, when the chart is rendered, the values on the X axis range from 1 to 26. Why is this chart type ignoring the X values I'm giving it? Same is true for the StackedSplineArea chart.

Without changing anything else, if I change the chart type to Line or StackedBar, the X values correctly range from -160 to 0. It seems like this is a bug in the StackedArea type charts. Is there a workaround or fix available for this?

Thanks.
Vladimir Milev
Telerik team
 answered on 22 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?