Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I'm having a problem with calling RadWindow.Close with 2nd parm = true => keep window open.

I have the following code:
DialogBox:
    function GetRadWindow()
    {
        var oWindow = null;
        //Will work in Moz in all cases, including clasic dialog
        if (window.radWindow) oWindow = window.radWindow;
        //IE (and Moz as well)
        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
        return oWindow;
    }

    function CloseButKeepOpen(returnval)
    {
        var oWindow = GetRadWindow();
        oWindow.Close(returnval, true);
    }

Main Window:
    radWindow ClientCallBackFunction=DialogCallback

    function OpenDialog()
    {
        var url = "DialogBox.aspx?... params
        var oWnd = window.radopen(url, radWinID);
        oWnd.moveTo(x, y);
        oWnd.SetSize (300, 410);
    }

    function DialogCallback(radWindow, returnValue)
    {
        if (returnValue && returnValue != 'Close')
        {
            // keep window open
            radWindow.Show();

            ...
        }
    }

I had a previous project that used this, but when i try it now it re-displays the dialog but doesn't keep values last keyed in.
Page_Load is called again on radWindow.Show()??

Murray


Georgi Tunev
Telerik team
 answered on 26 Feb 2010
3 answers
106 views
hi

I have a situation here. I have link in a grid that when click it would open up a window using radwindow showing the detail of a product.

For example, when i click on productid 1, the radwindow would show me the detail of productid 1. But when click on productid 2, it didn't show me the details of productid2. instead, it still show the details of productid 1. I would then need to right click the radwindow and refresh, then it would show me the detail of productid 2. How should i solve this? thanks

Radwindow in the a masterpage and the grid has been ajaxified. Thanks
Georgi Tunev
Telerik team
 answered on 26 Feb 2010
2 answers
241 views
Hi,

I'm now developing a pretty complex dock layout, with dynamically created nested docks / dock zones and in my scenario is much simplier to define dock zones where it is PERMITTED to dock a particular RadDock, rather than FORBIDDEN ones. In fact, instead of specifying 3-5 allowed dock zones (which can be done just with one line of code), I'm collecting all other zones using several iterations by going through my layout.

To my mind, letting developers to specify ability of docking two ways is a good feature.

Cheerz 

PS. Oh, I've found 'feature suggestion' support section
Bob van der Zinch
Top achievements
Rank 2
 answered on 26 Feb 2010
4 answers
336 views
I'd like to have the current underline tool button inject <U></U> instead of <span style="text-decoration:underline;"></span>. What is the best way to accomplish this? I tried setting the Commandlist["Underline"] to a custom function, but that didn't seem to help.
Dobromir
Telerik team
 answered on 26 Feb 2010
3 answers
83 views
I have a RadGrid for which filtering works on some columns but not others.  Specifically, filtering works on columns of type decimal but not for columns of type string or datetime.  I have checked the data types for each column and they are correct.  The ItemCommand event is fired for all of the filter actions.  Is there something obvious I'm missing?
Pavlina
Telerik team
 answered on 26 Feb 2010
1 answer
109 views

Hello Tererik ^^

when i Scroll down in the page... problem

why dose loading panel the  Transparency Option is not applyed?

i need full screen loading panel Transparency Apply!

help me please!! T.T

Pavlina
Telerik team
 answered on 26 Feb 2010
1 answer
113 views
Is there a list of breaking changes going from Q22009 (2009.2 701) framework 2.0 to Q3 2009 (2009.3 1314) framework 3.5?  So far the only one I've found is within the radwindow for onclientclose.  Are there any others?

Thanks,
Phil DeVeau
Sebastian
Telerik team
 answered on 26 Feb 2010
1 answer
94 views
I would like to sort a column by numerical and alphabetical.
for instance I have a varchar() column that contains mostly numbers and I would like it to be sorted 1,4,7,10,20 instead of 1,10,20,4,7.
I want it this way because the column contains data like "1 Bat", "1 Cat", "1 Dog", "10 Bats", "2 Cats", "5 Dogs".....

Is this possible with the RadGrid?
Princy
Top achievements
Rank 2
 answered on 26 Feb 2010
1 answer
92 views
Hi,

I do the following and my radlistbox truncates the values displayed in my listbox.

List

 

<String> strReportItemsList = new List<String>();

strReportItemsList.Add(

"Bala<12");

 

strReportItemsList.Add(

"Bala<ce");

 

strReportItemsList.Add(

"Bala<ce ref");

 

strReportItemsList.Add(

"test12");

 

strReportItemsList.Add(

"test?123");

 

 

m_radReportLstBox.DataSource = strReportItemsList;

m_radReportLstBox.DataBind();

 

 

 
When you execute this code,
 in my radlistbox , I get the first item to be correctly dispalyed but the 2nd("Bala<ce" ) and 3rd items  gets truncated and only "bala" gets displayed . Pls clarify this.

Am I missing something?

 

Shinu
Top achievements
Rank 2
 answered on 26 Feb 2010
1 answer
410 views
Hi everyone,
I am getting an error that is related to the WebResource.axd, as described in the Event Viewer.. This caused my application pool to stop running because after 5 consecutive errors within 5 minutes, IIS automatically disables the application pool.

This is what I see in the Event Viewer:

Event Code: 4005
Event Message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
Event Detail Code: 50201

Request Information:
Request URL: https://domain.com:443/AppName/WebResource.axd?d=4rxWZLa16xfVnip0ScOwlSFQgWqV91HZa614kGmY6nu-ls1XMhprh5YkpF3DJTbHlaungWY1ofirz4hip35f3A2&t=63367448160000000
Request Path: /AppName/WebResource.axd

Does this make sense --> /AppName/WebResource.axd?
That file is not physically there, so why is it referencing that?

This is just the first error. The next one, after 3 seconds, points to a RadWindow page, with the same error: Ticket supplied was invalid.  Then the 3rd one goes to my Login page... Same error, Ticket supplied was invalid.  Then it tries the Login page again: Ticket supplied was invalid.. Then the final error goes back to the WebResource.axd with the same error. Then my IIS server just decides to quit because too many errors happened in a span of 10-20 seconds.

Any thoughts on this, anyone?


T. Tsonev
Telerik team
 answered on 26 Feb 2010
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?