Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
805 views

Hi,

I have 2 web pages

  • Page A -> contains an image button.
  • Page B -> contains an IFrame referring to Page A (I do not manage this page)

When I press the image button a modal popup window opens.
Only problem is the window (modal popup) should be opened on top of page B.
It should be centered on page B and everything else on page B should be grayed out.

Is this possible?

Page A:

<html xmlns="http://www.w3.org/1999/xhtml"><br><head runat="server"><br>    <link rel="stylesheet" type="text/css" href="App_Themes/EriksBlue.css" /><br>    <title>Catalogs</title><br>    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /><br></head><br><body><br>    <form id="form1" runat="server"><br>    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"><br>        <Scripts><br>            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /><br>            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /><br>            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /><br>        </Scripts><br>    </telerik:RadScriptManager><br>    <script type="text/javascript"><br>        //Put your JavaScript code here.<br>        function openPopUp(url) {<br>           window.radopen(url, "CatalogWindow", window.innerWidth * 0.8, window.innerHeight * 0.8);<br>        }<br>    </script><br><br><telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" Animation="FlyIn"><br>    <Windows><br>        <telerik:RadWindow RenderMode="Lightweight" VisibleStatusbar="false" VisibleTitlebar="true" ID="CatalogWindow" runat="server" Modal="true" Behaviors="Close"><br>        </telerik:RadWindow><br>    </Windows><br></telerik:RadWindowManager><br><br> <telerik:RadPanelBar RenderMode="Auto" runat="server" ID="rpbCatalogs" Width="100%"><br>        </telerik:RadPanelBar><br>    </form><br></body><br></html>

 

Page B:

<html xmlns="http://www.w3.org/1999/xhtml"><br><head runat="server"><br>    <title></title><br></head><br><body><br>    <iframe src="http://localhost:7688/" style="border:none;" width="600" height="800"><br><br>    </iframe><br></body><br></html>

 

Attila Antal
Telerik team
 answered on 13 Feb 2018
20 answers
1.4K+ views
Hello,

I need a way to differentiate between Single and Double Click on the row in the ItemCommand server event of RadGrid, How can I achieve that?

I need to to do something like this:

protected void rgMessages_ItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == "RowClick")
    {
        // Do Something when Row is Clicked
    {
    else if (e.CommandName == "RowDoubleClick")
    {
        // Do Something Else when Row is Double Clicked
    }
}
Asif
Top achievements
Rank 1
 answered on 13 Feb 2018
1 answer
145 views

Is there a way to access the Step Image client-side in order to change the image based on client-side events? The documentation in

https://docs.telerik.com/devtools/aspnet-ajax/controls/wizard/client-side-programming/radwizardstep-object

doesn't mention anything.

Peter Milchev
Telerik team
 answered on 13 Feb 2018
0 answers
189 views

I have the RadNumericTextBox, which don't have MaxValue and MinValue (attribute not added). In my page, based on calculation, the value will be set in the RadNumericTextBox.  First time the calculated value is 0.0 and set to RadNumericTextBox as 0.0. Then I tried with another calculation, the value is 10.0. But this time, I got the following exception (ArgumentOutOfRangeException).

 

           Value of '10.0' is not valid for 'Value'. 'Value' should be between 'MinValue' and 'MaxValue'.

 

Looking like the value for MaxValue and MinValue automattically set as 0 at the first time.

 

Please help on this ASAP

Jesuraja
Top achievements
Rank 1
 asked on 13 Feb 2018
5 answers
636 views

Is it intentionally or a glitch ? I have tried to search for information about it, but with no luck.

Rgds

Hristo
Telerik team
 answered on 12 Feb 2018
5 answers
199 views
I want to have one grid act as a "header" and add it to the top of every page in my pdf.  Is it possible to achieve such?
Attila Antal
Telerik team
 answered on 12 Feb 2018
3 answers
203 views

I have searched around but I don't seem to be able to get a clear answer on my questions that I understand.

Important, I have to use kendoui version 2013.2.716, internal obligation.

I am giving maintenance in a commercial e-commerce system, which in the part of cliet, uses the javascript library kendoui version 2013.2.716.
We do not offer the e-commerce service, we sell the e-commerce product to the customer, for him to use in his infrastructure.
My question is, do I have to buy kendoui, or can I use it without paying because the license is GPLv3?
If I use kendoui without buying, do I have to distribute the source code of the whole system or just the client code?

Imer
Telerik team
 answered on 12 Feb 2018
1 answer
1.4K+ views

We are using version 2017.2.711.45 of Telerik.Web.UI and the behavior of RadButton's postbacks seems incorrect. My understanding has always been that when in Page_Load, code within if (!IsPostBack) should only run on initial load. Anything else would run as part of a postback. If you don't want a button to submit the form back to the server, you set it to AutoPostBack="False". Well, our buttons with that set are still posting back, and still getting into if (!IsPostBack)

Our buttons are using OnClientClicked with a function name. I tried adding (); return false; to the end of the function name, but that causes the button to instead act as a postback, and will go into an if(IsPostBack) so that's completely incorrect as well. Also it causes our radopen function to not open the RadWindow control.

Is this a problem with the version of Web.UI and do you know of one we can move up to that will fix this issue?

Attila Antal
Telerik team
 answered on 12 Feb 2018
1 answer
282 views

I have this funny problem. I have a combo box within the gridview. I realised that the combo box will not work if I scroll the page down. ALL the combo box will not work.

However, if I am on the top of the page OR if I zoom out so that ALL the controls are within 1 page. The combo box will be working fine. This is only affecting Chrome.

I have also tried to upgrade the AJAX to the latest version 2018.1.117

Vessy
Telerik team
 answered on 12 Feb 2018
0 answers
120 views

I am looking for a way to access other dataitems in in code-behind other than the KeyField, TextField and ForeignKeyField in the Resource object. 

<telerik:ResourceType KeyField="ID" Name="Room" TextField="RoomName" ForeignKeyField="RoomID"  DataSourceID="RoomsDataSource">

My datasoure is based off of a class with multiple properties and when scheduling a new appointment my custom attributes from the scheduler are empty.  

Thanks in advance.

Dan
Top achievements
Rank 1
 asked on 11 Feb 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?