Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Hi,
I am using a Rad Progress area. when uploading a file of size 1 MB and above, i have got this problem.
I am using a Rad Upload control. After selecting the file i click save to upload the file.
In the local machine the progress area gets appeared immediately after clicking save and the file starts uploading.
But after deploying the application in a server the progress area is not coming into picture for a long time. after the file gets uploaded to almost 80% the progress area is seen to be visible.
Please give me the possible solution.
Thanks,
Genady Sergeev
Telerik team
 answered on 03 Apr 2009
1 answer
70 views
I have a pack of objects. Each object has two values - bar and triangle - for every day. I want see this values grouped by objects and days. I've made this chart earlier with old infragistics chart control, but now i want to realize it with RadChart. Can I realize that?
http://img-fotki.yandex.ru/get/3313/e-statik.0/0_24128_55f96ebe_orig

p.s. my source table has four columns: Date, ObjectName, Value1, Value2.
Ves
Telerik team
 answered on 03 Apr 2009
1 answer
126 views

would it be possible that i create two WEB User Control for radgrid edit mode? Different input will show different edit form display.  it's totally different control.  visible some control cannot be applied here. For input A, the radgrid will visible the control A and if input B, the radgrid will visible the control B. Belows are part of my code:

 

 

 

<EditFormSettings UserControlName = "ByDepartment.ascx" EditFormType = "WebUserControl">

 

 

</EditFormSettings>

 

 

 

 

 

<EditFormSettings UserControlName = "ByEngineer.ascx" EditFormType = "WebUserControl"></EditFormSettings>

 

 

 

 

 

</telerik:GridTableView>

 

 

 

 

 

</DetailTables>

 

 

 

 

 

<ExpandCollapseColumn Visible="True">

 

 

 

 

 

</ExpandCollapseColumn>

 

 

 

 

 

<Columns>

 

Princy
Top achievements
Rank 2
 answered on 03 Apr 2009
4 answers
535 views
I am trying to hide and show buttons on a RadToolBar from the server. There doesn't appear to be an API to do this! (You'd think a simple .Visible property would be there.) I don't want to resort to fully removing the button if I can avoid it.

Note: I am not trying to disable the button. I don't want it to render, but I don't want it to be deleted either.

Suggestions?

toolbar.FindItemByText("text").Visible = false// This has no effect 
toolbar.FindButtonByCommandName("command")... // No Visible property here 
(toolbar.FindButtonByCommandName("command"as RadToolBarItem).Visible = false// This has no effect 
Atanas Korchev
Telerik team
 answered on 03 Apr 2009
4 answers
737 views
Hi,

i would like to know how to run registered script through an auto postback event of the control which is residing in radajaxpanel.

Sample code given below but when i execute the below code nothing happens but i want to open window through javascript reply me ASAP.

Thanks in advance...........

protected void btn_Click(object sender, EventArgs e)
    {
    

        //Java script to open the window for Billboard preview
        if (ClientScript != null)
            if (!ClientScript.IsStartupScriptRegistered("Startup"))
            {
                string scriptString;
                scriptString = "<script language=javascript>";
                scriptString = string.Format("{0} window.open('page1.aspx?ID=' + document.frm1.hidID.value, '_blank', 'width=300, height=430, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no', 'true');", scriptString);
                scriptString = scriptString + "</script>";
                RegisterStartupScript("Startup", scriptString);              
                
            }
    }


Regds,

Boogie.

Tejas
Top achievements
Rank 1
 answered on 03 Apr 2009
2 answers
135 views
I am working through the client side databinding examples and I would like to be able to set a breakpoint in a javascript function to see what is coming back from the server. Is there a client side event that i can hook to in order to view the JSON and inspect it? Aditionally are you guys planning on any more client side demos? It would be nice if you would go through all of your examples on the grid demos and show the server side implementation and the client side implementation with a note where the server side implementation cannot be duplicated client side. Right now it is very confusing what is possible and what is not possible with client side databinding. One example i would love to see is http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridcomboajax/defaultcs.aspx?product=grid.
Nikolay Rusev
Telerik team
 answered on 03 Apr 2009
1 answer
165 views
I was wondering if there is a way to disable specific tabs, depending on a user log in.

For example, if employee 1 logs in, he has access to the parts catalog but not the sales tab (greyed out,disabled or invisible). If employee 2 logs in, they have access to both tabs.
Princy
Top achievements
Rank 2
 answered on 03 Apr 2009
1 answer
179 views
Hi all,

I have a Rad Chart (horizontal bar chart) control on a page and when the control renders with my data (34 bars), the labels are all scrunched together and it looks terrible.

I have tried setting AutoLayout="true", but it doesn't appear to do anything.

Here's my code:

ASPX:

                    <telerik:RadChart ID="chtResults"
                        Skin="WebBlue"
                        AutoLayout="true"
                        SeriesOrientation="Horizontal"
                        runat="server">
                    </telerik:RadChart>

CODE BEHIND:

                Telerik.Charting.ChartSeries Series = new Telerik.Charting.ChartSeries();
                Series.DataYColumn = "Subscriber Count";
                Series.Name = "Count";

                chtResults.Series.Add(Series);
                chtResults.PlotArea.XAxis.DataLabelsColumn = "Feed";

                chtResults.DataSource = dtReportDataTable;
                chtResults.DataBind();


Any ideas how I can get the Telerik Rad Chart control to correctly render?

Any help is greatly appreciated.

Jason




Dwight
Telerik team
 answered on 03 Apr 2009
1 answer
307 views
Greetings.

I have coded an ASP.NET application such as follow :

Default.aspx
    MainPage.ascx
        RadTabStrip
            FirstTab.ascx
            SecondTab.ascx
            ThirdTab.ascx

On SecondTab.ascx, there is a checkbox. When this is checked, I want to update a dropdownlist that is on MainPage.ascx

Do you see how I could do that with RadAjaxManager that has been added on SecondTab.ascx ?

Thanks !!!!

Reunisoft
Top achievements
Rank 1
 answered on 03 Apr 2009
1 answer
158 views
I have a gridview and when gridview clicked

 

 

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)  
        {  
           if (e.CommandName == "RowClick" && e.Item is GridDataItem)  
            {  
                GridEditableItem eeditedItem = e.Item as GridEditableItem;  
               int customerId = Convert.ToInt32(editedItem.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["CustomerId"]);  
            }  
        } 

use the above code block to take CustomerId of selected customer which was written by one of board members. But I have no datakeyvalues because mygridview use needdatasource and advance binding as below

 

 

 

    protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)  
    {  
        RadGrid1.DataSource = GetDataTable("SELECT Customerid,CustomerName,CustomerSurname FROM Customers ");  
    }  
 

In shortly, I wonder How can I get Customerid of selected row inside RadGrid1_Itemcommand, moreover, In my trials I see e.Item.ItemIndex give the index of selected rows but because I use some filterings I have no chance to use datatable column property and besides, radgrid has no rows collection to iterate throıgh rows. Pls help me how can I find CustomerId without having DataKeyValues
All helps will be appreciated, thank you in advance.

Princy
Top achievements
Rank 2
 answered on 03 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?