Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
hi, is there 3D chart in telerik for asp.net. can someone send link about that.
Giuseppe
Telerik team
 answered on 01 Aug 2011
1 answer
154 views
Hello, i'm trying to export radgrid to html with the same aspect as we see it in the web browser. to be able to send it by email.

But each email client have is own way of handling css styles. as long as i know the best way to do it is setting all the styles inline, an that's exactly what i want to do.

But i'm facing several problems... can someone point me a solution?

i'm trying to use the folowing script http://www.tikku.com/css-inline-transformer#css_inline_tabs_1

first i have a error appending the css style sheet to the header tag... but i think this is unnecessary since i already have the css style in the telerik axd. 

the steps are get the html from grid, get the css style sheet, and finaly merge the htlm of grid whith the css classes of the style sheet.

i need to have this done asap :\

best regards, Marco






  
Daniel
Telerik team
 answered on 01 Aug 2011
3 answers
98 views
Hi Ple see the Image

thanks
vinoth
Nikolay Tsenkov
Telerik team
 answered on 01 Aug 2011
5 answers
224 views
Hi,

I have written code on ItemDataBound event of grid to check certain condition. If that condition is met then I would like to make 'Delete' button in GridButtonColumn and 'Edit' button in GridEditCommandColumn invisible for that row. For other rows these buttons should be visible.
I have managed to make these button invisible but for those rows and for these two columns only it is not showing gridlines and it looks weird. How to make it show gridlines but make image buttons invisible?

Thanks.
Sebastian
Telerik team
 answered on 01 Aug 2011
1 answer
33 views
Hello

I want to know how I can delete the image attached in a forum post.

Url:

http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-grouping-sum-and-count-problem.aspx#1741505

Thanks..
Sebastian
Telerik team
 answered on 01 Aug 2011
1 answer
119 views
Hello,

I'm using the demo: http://demos.telerik.com/aspnet-ajax/editor/examples/righttoleft/defaultcs.aspx.
Can i know using the c# code (In the server side) of the usercontrol in which mode I'm in (Insert or update)?
Note: I'm using the follwoing code:
((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? false : true

But thats doesn't help in the server side of the user control.

Please, I need your help,
It is apprecited to send me a sample code:

Regards,
Bader

Andrey
Telerik team
 answered on 01 Aug 2011
2 answers
74 views
Hi,
I have Rad Menu which is supposed to pick up custom skin and the css, but somehow it still picks up some classes from default css. I am not sure why.I have created a folder called mytheme and within that i have Menu.mytheme.css  and also in the web config i have specified page theme=mytheme.
When i reference it from the page i have  explicity mentioned skin="mytheme" and embeddedskin="false"
Could you please help on this.
Thanks.
Teju
Kate
Telerik team
 answered on 01 Aug 2011
1 answer
56 views
Hi;
We are using Telerik RadGrid When we dont use grouping there is by default text in the panel "Drag and Drop Grouping for here".
It is always in Center ,IS there any mechanism that we can shift this text to left Handside.
Maria Ilieva
Telerik team
 answered on 01 Aug 2011
6 answers
116 views
I'm not sure if this is a bug or intentional, but the Open option in the context menu is available even when you don't have a file selected. For example, if I right click in the open area in the file grid on the right, I can choose Open, which then attempts to open my path (with no file) using my file handler. I've written the following code to stop this from happening.

if (item.get_url().lastIndexOf("/") == item.get_url().length - 1) {
                alert('You must select a file to open.');
            } else {
                var requestImage = "FileHandler.ashx?path=" + item.get_url();
                document.location = requestImage;
            }
Dobromir
Telerik team
 answered on 01 Aug 2011
1 answer
129 views

Grid not rebinding on Closing Rad Window

I have problem with radgrid refreshing, when i close the radwindow .I have a radgrid which should refresh automatically when i close the radwindow , In my application i have a radwindow through which i will insert the values to database , on successfull insertion , i am calling the refresh grid function , but the grid refresh functionality is not working , can i know where exactly i am wrong ,so that the functionality works fine. 

my Gridpage aspx code looks like this
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest" EnableAJAX="true">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True"
            GridLines="None" ShowGroupPanel="True" Skin="Black" AutoGenerateColumns="False" Width="100%" AllowAutomaticInserts="false" AllowAutomaticUpdates="false">
            <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                <ClientEvents OnGridCreated="OnGridCreated" />
            </ClientSettings>

.......................
..................
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"
            Skin="Black">
            <Windows>
                <telerik:RadWindow ID="UserListDialog" runat="server" Height="620px" Width="620px"
                    Left="150px" Top="50px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true"
                    OnClientClose="closeRadWindow" />
            </Windows>
        </telerik:RadWindowManager>
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            if (e.Argument == "Rebind")
            {
                RadGrid1.MasterTableView.SortExpressions.Clear();
                RadGrid1.MasterTableView.GroupByExpressions.Clear();
                Presenter List = new Presenter(this);
                IList<FileAdmin> GridDta = List.PopulateGrid();
                RadGrid1.DataSource = GridDta;
                RadGrid1.Rebind();
            }
javascript looks like this
function closeRadWindow()
                 {
                     $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
                  
                }
       function refreshGrid()
                 {
                   $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
                 
                 }
RadWindow aspx code Looks like this
javascript
 function CloseAndRebind() {
                        GetRadWindow().BrowserWindow.refreshGrid();
                        //GetRadWindow().close();
                    }
function GetRadWindow()
                     {
                        var oWindow = null;
                        if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
                        return oWindow;
                    }
Radwindow aspx.cs file looks like this
protected void buttonclick(object sender, EventArgs e)
{
if (result == true)
 {
ClientScript.RegisterStartupScript(Page.GetType(), "mykey1", "CloseAndRebind();", true);
 }
}
Maria Ilieva
Telerik team
 answered on 01 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?