Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
Here's a nut to crack :)

I have a app that uses radwindows for popups for filling in data, and in one case, I need to open another popup within the popup, but from the parent.

When I use a regular text-link, I can go like:

<a href="javascript://" onclick="var win = GetWindow().BrowserWindow.radopen('randomPopup.aspx'); win.set_modal(true);">Click me</a>
And it works fine, it sets the old popup out of focus, sets the modal and everything works out fine.

But when I use this:

<a href="javascript://" onclick="var win =
GetWindow().BrowserWindow.radopen('randomPopup.aspx');
win.set_modal(true);"><img src="clickMe.png" /></a>
The popup which initiated the new popup, stays active, the background goes modal, and the new popup hides behind the first popup.

Took me a good 2 hours to understand that it wasn't the surrounding HTML that made it impossible to work, it was just that image. :)

If you need more information, ask away :)

Edit:

.setActive() does not work aswell. :) (In the Image-case)
Georgi Tunev
Telerik team
 answered on 21 Sep 2010
1 answer
71 views
I can view the RADSlider on Chrome but cannot see it on IE8. All I can see are the Increase,drag and decrease links on the slider.
Tsvetie
Telerik team
 answered on 21 Sep 2010
1 answer
92 views
Basic tab control and mutipage setup. Took out the justify attribute on the tab strip and looks like the attached pic. Help?
Yana
Telerik team
 answered on 21 Sep 2010
6 answers
281 views
Hi,
I have a radTreeView control set-up as:

 

 

 

 

<telerik:RadTreeView ID="tvIndustrySectors" runat="server" CheckBoxes="true" TriStateCheckBoxes="False" Height="180px" />


I add the nodes from the code behind and it goes down about 3 levels. What I want to acheive is when a user clicks on the text of a node it will expand and show the children.

Can this be done easily by setting a value on either the control or on each node when added?

Many thanks
Ed
Andrew Denham
Top achievements
Rank 1
 answered on 21 Sep 2010
2 answers
83 views

I am using radeditor’s old version and now want to upgrade to new one.

I downloaded the trial version and problem I am facing is, while adding customize toolbar i can’t add a linkurl in configfile.

What I want to do is I want to show one image in tools option and clicking on it will call a function. This is working fine with old radeditor by adding option <tool name="setbackgroundcolor" IconUrl="BackColor.gif" /> If I am using same config file with new editor it is giving me javascript error on load, so can you please tell me how I can achieve same functionality with new ediotor.

vishal
Top achievements
Rank 1
 answered on 21 Sep 2010
2 answers
643 views
Hi
I have a standard button placed for 'SAVE' in a gridtemplate column and I am trying to retrieve command event arguments, so I can hit the button to save just contents of that corresponding row. For some reason in the gridview's item command event I am getting an empty string as the command argument. What am I possibly missing ?
Thanks
rD
Top achievements
Rank 1
 answered on 21 Sep 2010
1 answer
132 views
You can do this kind of chart?

http://chart.apis.google.com/chart?chxl=0:|slow|faster|crazy&chxt=y&chs=300x150&cht=gm&chd=t:70&chl=Groovy
Evgenia
Telerik team
 answered on 21 Sep 2010
1 answer
316 views
When load ascx user control with captcha and it's never been validated, even if I enter right code which I can see on a textbox by captcha.CaptchaImage.Text.
Pero, you wrote " register the UserControl directly in the .aspx page, or load it at Page.Init"

How can I do it?

I'm doing 

        Contact contact;
        protected void Page_Load(object sender, EventArgs e)
        {
            contact = (Contact)Page.LoadControl("~/Contact.ascx");
        }

in .aspx file

then, on menu (in aspx) selection, I fill PlaceHolder with 
contact by myPlaceHolder.Controls.Add(contact)

I set all elements in my ValidationGroup with SubmitGroup. SubmitButton and captcha as well.
All elements from the resulting page, such as RequiredFieldValidator (3 of them at the form) are working ok, but the captcha IsValid property is always false.

What am I doing wrong? 
Pero
Telerik team
 answered on 21 Sep 2010
4 answers
235 views
when i used telerik captcha in normal "aspx" page it works perfectly but when i used in user control "ascx" page its not validating

i used the captcha with asp:button control and validation group ="submitgroup" for both captcha and button

The Code in aspx page:

<

 

rad:RadAjaxPanel ID="rjPnlRegister" runat="server" LoadingPanelID="ajxldpnlRegister">

 

<

 

rad:RadCaptcha ID="rdCaptcha" runat="server" ErrorMessage="You have entered an invalid code." ValidationGroup="SubmitGroup">

 

 

 

 

 

</rad:RadCaptcha>

 

 

 

 

 

<asp:Label ID="lblStatus" runat="server" Text="Label"></asp:Label>

 

 

 

 

 

<asp:Button ID="btnSubmit" runat="server" Text="Button"

 

 

ValidationGroup="SubmitGroup" onclick="btnSubmit_Click" />

 

 

 

 

 

</rad:RadAjaxPanel>

 

<

 

rad:RadAjaxLoadingPanel ID="ajxldpnlRegister" runat="server" Transparency="20" BackColor="#FFFFFF">

 

 

 

 

 

<asp:Image runat="server" ID="imgLoading" SkinID="imageajaxloading" AlternateText="" />

 

</

 

rad:RadAjaxLoadingPanel>

The Code in aspx.cs page:

 

protected

 

void btnSubmit_Click(object sender, EventArgs e)

 

{

 

if (Page.IsValid)

 

{

lblStatus.Text =

"correct!";

 

lblStatus.ForeColor = System.Drawing.

Color.Red;

 

}

}

I tested same code in ascx page and aspx page but in aspx page it works fine in aspx page i.e its validating correctly
but in ascx page its not validating when click on the button

can any tell why its happening like that....

Pero
Telerik team
 answered on 21 Sep 2010
1 answer
163 views
Is there a way to configure the RadSplitter control to not utilize javascript for resizing width but only height. I understand that height resizing typically requires javascript but I know that width can be accomplished with table cells and a combination of fixed and percentage widths. It looks like you are utilizing tables for the splitter control so i was wondering if there is some sort of setting that will enable only the height to be resized using javascript. Any information would be much appreciated. Thank You!
Tsvetie
Telerik team
 answered on 21 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?