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

Hi,

I have a problem with telerik rad grid where jquery validation engine is not firing with rad ajax manager. 

 <telerik:RadAjaxManager ID="radAjaxManager" runat="server" DefaultLoadingPanelID="radAjaxLoadingPanel">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnMessage">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMessageOverlay" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

If i comment the ajax manager code, then the jquery validation fires fine. Can you please let me know what needs to be done to fix this?

Kind Regards,
Mohamed Riazuddin
Pavlina
Telerik team
 answered on 12 Mar 2013
1 answer
142 views
HI,
I have multiple reports and one report viewer form to show all of the reports.  The data for the report is comes form a grid.How to load all of them in a one report viewer.

Thanks & Regards
Anzar.M
Squall
Top achievements
Rank 1
 answered on 12 Mar 2013
3 answers
166 views


Greetings, 

Does RadStyleSheetManager already provide a way to include stylesheets external to the root directory of an application that I have not found?

For example, is there a way to set each of the RadStyleSheetManager.StyleSheets as hyperlinks in the code behind?

If not, why not ?  & is this a planned enhancement ? 

Take the following two examples : 

 Example1: Relative-to-root path fail. 
 Complies fine, but will error at runtime with "cannot use a leading .. to exit above the top directory" (.net constraint, not bug nor Telerik constraint).

<telerik:RadStyleSheetManager ID="RadStyleSheetManager" runat="server" OutputCompression="AutoDetect" EnableStyleSheetCombine="true">
       <StyleSheets>
           <telerik:StyleSheetReference Path="~/../../../WebAssets/Styles/mainstyles.css"/>
           <telerik:StyleSheetReference Path="~/../../../WebAssets/Styles/extrastyles.css"/>
       </StyleSheets>
</telerik:RadStyleSheetManager>

<appSettings>
   <add key="Telerik.Web.UI.StyleSheetFolders" value="~/../../../WebAssets/Styles"/>
</appSettings>


Example2:  virtual directory fail. 
.AXD can't serve the resources at all becuase it can't find them even though these paths are correct at runtime if linked 'normally'.
<telerik:RadStyleSheetManager ID="RadStyleSheetManager" runat="server" OutputCompression="AutoDetect" EnableStyleSheetCombine="true">
       <StyleSheets>
           <telerik:StyleSheetReference Path="~/VirtualDirWebAssets/Styles/mainstyles.css"/>
           <telerik:StyleSheetReference Path="~/VirtualDirWebAssets/Styles/extrastyles.css"/>
       </StyleSheets>
</telerik:RadStyleSheetManager>

<appSettings>
   <add key="Telerik.Web.UI.StyleSheetFolders" value="~/VirtualDirWebAssets/Styles"/>
</appSettings>


Genady Sergeev
Telerik team
 answered on 12 Mar 2013
1 answer
108 views
 
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2013
2 answers
105 views
Is it possible to set the scheduler control in group mode when using webservice binding without doing a postback? The user should be able to switch from group mode to 'normal' mode.
Benny
Top achievements
Rank 1
 answered on 12 Mar 2013
5 answers
186 views
Hi,
In my visual studio intellisense radsearchbox is missing. i m using telerik 2012 dll. please help.

Thank you.
Saira.
Princy
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
47 views
Hi,

I tried to build the new Controls from source. The problem is that when I use the Controls I get a message about Unobtrusive Validiation on most pages. If I use the suppiled dll for .net4.5 this problem does not occur.

The reason is that we need to change the green color in the black theme to orange.

How can I resolve this?

Best Regards
Daniel
Genady Sergeev
Telerik team
 answered on 12 Mar 2013
4 answers
363 views
Ok, i know there is a big problem with the auto resize of radwindows but i think i'm very close to getting my version working. 

I've followed the guides here from these threads:

http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
http://www.telerik.com/community/forums/aspnet-ajax/window/resize-radwindow-based-on-content-not-onload.aspx
http://www.telerik.com/community/forums/aspnet-ajax/window/resizing-problem-and-autoresize-option.aspx
http://www.telerik.com/community/forums/orm/general-discussions/to-resize-rad-window-on-the-change-of-the-size-of-control-on-it.aspx
http://www.telerik.com/community/forums/aspnet-ajax/window/best-way-to-resize-window-when-content-changes-via-javascript.aspx

But what is happening is that first my radwindow on chrome shows up very very small and then grows to the appropriate size. This kinda sucks but hey if it happens the first time i can deal with that. The problem is that every time i call "AdjustRadWidow" it does this behavior. This is unlike the demo's above.

Calling code block:
<telerik:RadWindowManager ID="RadWindowManager1" Overlay="true"  runat="server" Modal="true" EnableViewState="false"
    VisibleStatusbar="false" Behaviors="Close,Move,Resize" Skin="skr" EnableEmbeddedSkins="false" OnClientPageLoad="AdjustRadWidow" autoSize="true" >
</telerik:RadWindowManager>

My javascript block: this is functionaly equivalent to the code above but i made changes so it works with my custom skin. 

function AdjustRadWidow() {
    try {
        var manager = GetRadWindowManager();
        var oWindow = manager.GetActiveWindow();
    }
    catch (err) {
        var oWindow = GetRadWindow();
    }
    setTimeout(function () { oWindow.autoSize(true); if ($telerik.isChrome || $telerik.isSafari) ChromeSafariFix(oWindow); }, 500);
}
//fix for Chrome/Safari due to absolute positioned popup not counted as part of the content page layout
function ChromeSafariFix(oWindow) {
    var iframe = oWindow.get_contentFrame();
    var body = jQuery('iframe[name=RadWindow1]').contents().find(".content");
    if (typeof jQuery(body).html() === 'undefined') {
        body = jQuery('.content');
    }
    setTimeout(function () {
        var height = jQuery(body)[0].scrollHeight + 275;
        var width = jQuery(body)[0].scrollWidth + 70;
        var iframeBounds = $telerik.getBounds(iframe);
        var heightDelta = height - iframeBounds.height;
        var widthDelta = width - iframeBounds.width;
        if (heightDelta > 0) oWindow.set_height(oWindow.get_height() + heightDelta);
        if (widthDelta > 0) oWindow.set_width(oWindow.get_width() + widthDelta);
        oWindow.center();
    }, 310);
}


How can i fix this.
Qurat
Top achievements
Rank 1
 answered on 12 Mar 2013
1 answer
110 views
Hello,

Is it possible to create multiple rows in the Timeline View?  For instance, in my current control lets say I have 10 days, each with its own slot.  Currently these would render side by side and could become cramped, especially on smaller resolutions.  What I would like to do is wrap them so they appear as two rows; five and five.

Below is a mock-up of what I am trying to achieve:



Thanks for any assistance you can provide.
Bozhidar
Telerik team
 answered on 12 Mar 2013
1 answer
185 views
Hi,

 I know that RadFilter field editor can be added dynamically either on Page_Load or on Page_Init but still don't have a clear idea about its technical difference. Can anyone highlight the difference between those two?

Thanks,
Damian.
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2013
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?