Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
226 views

In main page which contains the radwindowmanager, I added an radwindow "G" under the radwindowmanager. After I opened the radwindow "G", I tried to open another radwindow "C" from radwindow "G" by using the code below.

function openWindow(Url, Id) {

            var oMan = GetWindowManager();

            var oWnd = oMan.open(Url, Id);

            oWnd.set_visibleStatusbar(false);

            oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Resize);

            //something wrong here

            oWnd.setActive();

            return oWnd;

}

however I got the error message below 
'telerik.web.ui.windowBehahaviors.close' is null or not an object.

 in web.config, I added 

<location path="Telerik.Web.UI.WebResource.axd">

    <system.web>

      <authorization>

        <allow users="*" />

      </authorization>

    </system.web>

  </location>

 
please advise what cause this issue? Thanks.

yao wang
Top achievements
Rank 1
 answered on 25 May 2010
4 answers
280 views
Hello,

I would like to adjust the size of the radConfirm buttons (Ok/Cancel) so that they are the same width.  After reviewing the radWindow HTML, I overrode the innerspan class and added the appropriate width.  This seems to have done the trick perfectly.

My question is this - a class name of "innerspan" seems very generic, and I'm wondering if any other radControls use this class name for anything else.  So far my application seems to be fine, but I want to make sure I'm not messing up anything else by making this change.  Is there a more appropriate solution for modifying the button widths of the radConfirm?  This way seems very simple.

Thanks.

Steve
Steven Black
Top achievements
Rank 1
 answered on 25 May 2010
2 answers
136 views
I need to allow administrative users to configure what buttons on the toolbar are available to end users. Sort of like the "Customize Commands" in Office 2003/VS.

To be able to offer a richer experience, I would like to be able to represent buttons using the original icons used on the toolbars. Is it possible, given the tool "key" as used in the Tools XML file, to obtain the icon graphic URL?


Nathan J Pledger
Top achievements
Rank 2
 answered on 25 May 2010
1 answer
120 views
Hi,
I've made a custom skin with enlarged graphics for the checkboxsprites and radiobuttonsprites using the visual style builder.  The new skin works fine on IE, Firefox, and Opera but not Webkit browsers, which still show the regular smaller graphics.  Is there any way to get this working on all browsers in such a way that it won't break in the future?
Thanks,
David
Bozhidar
Telerik team
 answered on 25 May 2010
3 answers
194 views

I save multiple variations of images and then I am filtering the Image Manager filelist to only show 1 of each kind of them.
When I click "Image Editor" to load the ImageEditorDialog, is it possible to load a different file than the one selected from the list?

For example the list shows:
1_thumb.jpg
2_thumb.jpg
...

but when I select 1_thumb.jpg, and click "Image Editor" I want to load "1_source.jpg" for example (which exists but is not shown in the list).

Is there a function that I can override to do this?
Dobromir
Telerik team
 answered on 25 May 2010
3 answers
366 views
I have a RadGrid being populated from a SQL stored proc and have set the OnRowClick event to properly show the value in an alert box...I need to know how to pass this value back to my vb.net code behind to show in a label or to use for a second query (such as customer details).

Again, I do not want a post back as I just want the label to reload or an Ajax panel.
Here is the code to handle the OnRowClick event:
function custClicked(sender, args) { 
    var grid = sender; 
    var MasterTable = grid.get_masterTableView(); 
    var row = MasterTable.get_dataItems()[args.get_itemIndexHierarchical()]; 
    var cell = MasterTable.getCellByColumnUniqueName(row, "COMPANY"); 
    
    alert(cell.innerHTML); 
     
} 
 
Thanks in advance for your help!
Bruce
Bruce McCulloch
Top achievements
Rank 1
 answered on 25 May 2010
3 answers
76 views

I want shared functionality for all RadGrids in my project, but I can't figure out how. I started with a WebUserControl (ascx) but learned it requires the same markup for all instances, which I can't as I need different columns in different pages, along with other property settings.

Is there a way to create a control that wraps/inherits a RadGrid that allows me to create shared methods, events, and properties, but have different markup on different pages? Or is that not possible and I need to copy-paste my server-side code to all instances and pages? Thanks.
Dimo
Telerik team
 answered on 25 May 2010
1 answer
190 views
When RadSpell makes changes to a textbox it does not cause the TextChanged event to fire. I tried calling a __doPostBack OnClientCheckFinished and it posts back but does not handle the TextChanged event on postback. Here's the code I am using at this point (I've tried without the __doPostBack call and with AutoPostback=True and it doesn't postback at all):

ASPX
<asp:TextBox runat="server" ID="ModuleTitleBox" Width="700" TextMode="MultiLine" Rows="1" AutoPostBack="true" /> 
<telerik:RadSpell ID="Radspell1" Runat="server" ControlToCheck="ModuleTitleBox" ButtonType="ImageButton" IsClientID="false" Skin="Black" OnClientCheckFinished="checkFinished"  /> 
 

JS
function checkFinished(sender, args) { 
    args.suppressCompleteMessage = true; 
    __doPostBack(sender.get_controlToCheck(), ''); 
} 
 

VB
Protected Sub SaveTitleEdit(ByVal sender As Object, ByVal e As System.EventArgs) Handles ModuleTitleBox.TextChanged 
    'saves changes to database here 
End Sub 

Darin Beard
Top achievements
Rank 2
 answered on 25 May 2010
2 answers
136 views
I have a radpanel linked to a sitemap which is on my master page.

Now i need to enable and disable items in the panel according to which form i show.

Is this possible any suggestions or alternatives are welcome

Thanks in advance
Jed Fletcher
Top achievements
Rank 1
 answered on 25 May 2010
1 answer
167 views
I'm using nested splitters (splitters occupy entire page) with almost nothing but text inside, and when the browser window is re-sized there is a noticeable lag for the panes to refit in the window.  Use of "VisibleDuringInit" only works when the page is loaded.
This is not an issue with your examples, since the splitters don't get resized with the browser window.
I saw a post here from 2007 that recommended enclosing the Radpane contents in <div RadResizeStopLookup="true" RadShowStopLookup="true" >...</div> with some additional JavaScript.
(See http://www.telerik.com/community/forums/aspnet-ajax/splitter/slow-window-resize.aspx).
I attempted this, and there was no difference.
Is there any way to get rid of this lag or disguise it.
This doesn't happen when I use frames (which I would really prefer not using). It doesn't happen with Obout's splitters, but their support is not good, and I really like everything else about your products.
If I can't resolve this problem, I'll probably have to use your system with frames (if that doesn't create even more obstacles).

Best regards,
Mike
Tsvetie
Telerik team
 answered on 25 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?