Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
I am having problems closing any of the Advanced templates after clicking on Insert (command name Insert) or Update (command name Edit) buttons. The code behind runs successfully and the database is updated but form remains on the screen. The only solution so far is to use redirect but in that case scheduler goes back to todays date and generally it is not very good solution. I've alos tried binding the scheduler upon execution of the code (instead of using redirect) and still the advanced template remains visible. What could be done to fix this issue. Thanks
Ivana
Telerik team
 answered on 17 Oct 2011
4 answers
65 views
Hi
I'm using radgrid inside the radpanelbar.
I'm using the Radtooltipmanager.
All tooltips are showing currectly.
the tooltips of Slider like Decrease,Drag and Increase are appears as normal tooltips.
But rest of the other things are appearing in telerik style tooltip.
How cloud I fix this please help me as early as possible.
Ram
Top achievements
Rank 1
 answered on 17 Oct 2011
3 answers
163 views
Hi Telerik,

I am just doing some fine-tuning of my controls, and I noticed that there are slight differences in how some of my pop-up RadWindows are rendered under different browsers. I've accounted for all that I can, but I would like to open a RadWindow with a different height, as cleanly as possible, but be able to account for these browser differences.

Currently, I have the following implementation:

<telerik:RadWindowManager ID="RadWindowManager1" Runat="Server" Skin="Web20" Modal="True" KeepInScreenBounds="True" EnableShadow="True" Behaviors="Close, Move" VisibleStatusbar="False" ReloadOnShow="True" ShowContentDuringLoad="False" Behavior="Close, Move" Title="Confirm Action" IconUrl="~/Content/Dashboard/Icons/radwindow_confirmdelete.png" OnClientDragStart="OnWindowDrag" Style="z-index: 90001 !important">
    <Windows>
        <telerik:RadWindow ID="DashboardGlobalSettingsWindow" Runat="Server" NavigateUrl="~/Dashboard/Dialog/Windows/DashboardGlobalSettings.aspx" OnClientShow="OnDashboardGlobalSettingsShow" OnClientClose="OnDashboardGlobalSettingsClose" IconUrl="~/Content/Dashboard/Icons/radwindow_settings.png" OnClientAutoSizeEnd="OnClientAutoSizeEnd" Title="Global Settings" MinHeight="337px" Height="337px" Width="450px" />
    </Windows>
</telerik:RadWindowManager>

//Shows the global settings window -- dock isn't relevant here.
//I cancel the event because I'm making it look like a button on the side when it is really
//a sliding zone that would expand. When I cancel the slide event, though, it's a button!
function ShowDashboardGlobalSettings(sender, eventArgs) {
    eventArgs.set_cancel(true);
    oWindow = radopen(null, "DashboardGlobalSettingsWindow");
}
 
//Pass current tabs to the dialog window.
function OnDashboardGlobalSettingsShow(sender) {
    sender.argument = $find(radTabStrip1ID).get_tabs();
}
 
//Pass tabs back to dashboard.
function OnDashboardGlobalSettingsClose(sender) {
    var globalJSONAttributes = sender.argument;
    if (globalJSONAttributes != null) {
        __doPostBack(radTabStrip1UniqueID, $.toJSON(globalJSONAttributes));
    }
    oWindow = null;
}

Should I parse the browser information where I obtain a handle on the oWindow, and then set the height as necessary? 

Thanks

EDIT: Just for the sake of keeping similar questions in one thread, could you guys also take a look at this?

<telerik:RadWindow ID="CustomLocalSettingsWindow" Runat="Server" NavigateUrl="~/Dashboard/Dialog/Windows/CustomLocalSettings.aspx" OnClientShow="OnLocalSettingsShow" OnClientClose="OnCustomLocalSettingsClose" IconUrl="~/Content/Dashboard/Icons/radwindow_settings.png" OnClientAutoSizeEnd="OnClientAutoSizeEnd" Title="Settings" Width="450px" Height="200px"/>


function ShowLocalSettings(dock) {
    radDock = dock; //Maintain a hold on the dock that is pulling up the window. Useful to save info when window closes.
 
    var reportType = radDock.get_element().getAttribute("ReportType");
    if (reportType == "HistoricalReport") {
        oWindow = window.radopen(null, "HistoricalLocalSettingsWindow");
    }
    else if (reportType == "CustomReport") {
        oWindow = window.radopen(null, "CustomLocalSettingsWindow");
 
        if ($.browser.opera) {
            alert("test");
            oWindow.set_height(oWindow.get_height() - 45);
        }
 
    }
    else {
        window.radalert("Didn't find report type.");
    }
}

http://screencast.com/t/905DDs2rgM

There's a short video clip of what I am seeing. Basically, setting the oWindow's height like so (to fix height issues in Opera), is causing the next click to make the window even smaller. Yet, I only see the alert fire once (not in the video, but tested). Even calling set_height using a hard-coded value not dependent on get_height causes the same effect. Not calling set_height at all does not cause the effect, though. This seems like a bug in set_height. Any idea why this would be happening?

It doesn't happen when I have AutoSize="True" and AutoSizeBehvaiors="Height", however I think that's just hiding the bug.
Marin Bratanov
Telerik team
 answered on 17 Oct 2011
3 answers
207 views
Hi,
I'm using RadTabStrip control into a MasterPage.
I need to use the TabClick event only in two tabs, so I've set the tab's PostBack property to true.
Now my event is fired, but in async mode, why? I'm not including my TabStrip into RadAjaxPanel or UpdatePanel.

To work around this problem in the Page_Init event (aspx Page_Init) I've registered the control RadTabStrip as PostbackControl with the method ScriptManager.RegisterPostBackControl(...), this works only SYNC postback, when I do a ASYNC postback, the RadTabStrip control works as ASYNC control.

Can you help me?
Thanks
Best Regards
Dimitar Terziev
Telerik team
 answered on 17 Oct 2011
1 answer
135 views
Hi Telerik team members and users,

In the chart below one of the items is "exploded".

http://imageshack.us/f/511/percentageexplodeditem.png/

However, the issue I have is that the item's text ( the "14%" text   overlaps with / touches the slice )

How can I fix this issue ?



By the way your product is awesome !

Sebastian
Yavor
Telerik team
 answered on 17 Oct 2011
4 answers
257 views
Dear All!

I would like to know how can I get my custom Edit control object durint InitInsert Command [Add new record]?
Means I've created a custom edit form:
<EditFormSettings UserControlName="~/Controls/DutTestGridCommandControl.ascx" EditFormType="WebUserControl" />
and I need it's reference, ID or similar during creation because it has a property which I need to set in runtime. Is it possible?

Thanks,
alsi
Princy
Top achievements
Rank 2
 answered on 17 Oct 2011
1 answer
89 views
Hi, could You tell me how to set auto width on detail table in hierarchical grid? It automatically sets width=100% on table in html, so child grid is stretched.
Princy
Top achievements
Rank 2
 answered on 17 Oct 2011
1 answer
97 views
initially i bind grid using this code

<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:MyDB %>"
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, PostalCode FROM Customers"
            runat="server"></asp:SqlDataSource>


in this paging works properly...

when i bing grid datas like this

RadGrid1.DataSource = DT
RadGrid1.DataBind()
when i click the 2nd page button grid shows like this(Attached below)

give me a solution
Shinu
Top achievements
Rank 2
 answered on 17 Oct 2011
2 answers
119 views
Hello Experts,

I have added  footer part in my rad grid & i want to display it in PDF file.

If TypeOf e.Item Is GridFooterItem Then
Dim footer As GridFooterItem = CType(e.Item, GridFooterItem)
footer("Duration_Hours").Controls.Add(New LiteralControl("<span dir ='rtl' style='color: Black; font-weight: bold;'>Total Hours : " & lblTotalhours.Text & "</span> ")
End If

Is it possible to display Rad grid footer part in PDF file???

Thank You,
Ronak.


 
Ronak
Top achievements
Rank 1
 answered on 17 Oct 2011
13 answers
232 views
hi dear telerik team :
it seems File Explorer has some problems when want to load a folder  / it goes to thinking mode / stay on loding.gif ajax mode!
this problem appeared aftre publish / my server speed is ok -> 5-6 mbps
but i do n't know how can i fix this issue?
Dobromir
Telerik team
 answered on 17 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?