Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Hi,
On initial load radgrid is loading find.
I have a button outside the grid to update.when i click on button there is messup with grid columns width.
Eyup
Telerik team
 answered on 25 Jul 2013
0 answers
164 views
hi
 I am working on Mobile Application in Icenium Graphite.Now i want to develop sample application on Payment Gate way using JQuery can any one help me in this

Thanks in advance,
Raadhika
Radhika
Top achievements
Rank 1
 asked on 25 Jul 2013
4 answers
387 views
Hi,
I have created one column as "GridButtonColumn" in one dynamic radgrid, When i click a button in any of the row that "GridButtonColumn" column will be hided soon... Can you anyone help me to solve the problem ..?


Thanks
-Rk.MooRthy
 answered on 25 Jul 2013
16 answers
1.0K+ views
I want to populate fields within a radgrid with some phony data when the button is clicked.
The GetInsertItem() statement causes exception:
Exception Details: Telerik.Web.UI.GridException: Insert item is available only when grid is in insert mode.

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
  <telerik:RadButton runat="server" ID="RadButton1" AutoPostBack="true" Text="fill data"  ButtonType="LinkButton" onclick="RadButton1_Click"></telerik:RadButton>
</div>
 
<telerik:RadAjaxPanel runat=server>
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
            ShowStatusBar="True" GridLines="None"  OnNeedDataSource="RadGrid1_NeedDataSource" OnUpdateCommand="RadGrid1_UpdateCommand"
            OnInsertCommand="RadGrid1_InsertCommand" OnCreateColumnEditor="RadGrid1_CreateColumnEditor"
            OnPreRender="RadGrid1_PreRender" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated">
            
            <MasterTableView DataKeyNames="id" CommandItemDisplay="Top">
                <Columns>
                    <telerik:GridBoundColumn HeaderText="Emp" DataField="emp" UniqueName="emp">
 
 
 
protected void RadButton1_Click(object sender, EventArgs e)
{
        GridEditFormInsertItem i = (GridEditFormInsertItem)RadGrid1.MasterTableView.GetInsertItem();
        RadTextBox r = (RadTextBox)i.FindControl("emp");
        r.Text = "Johnny";
}

Princy
Top achievements
Rank 2
 answered on 25 Jul 2013
1 answer
84 views
Good day all,
I have a scenario where I take orders from customers and update it in a radgrid. So they orders can be more than one.
The problem here is that, when i click complete sales, I want the data in the grid rows to be populated onto another page or form which would be used to generate a receipt. Can anyone help me with this.
Thanks in advance..
Kostadin
Telerik team
 answered on 25 Jul 2013
2 answers
103 views
Hi

I found it very difficult to figure out the correct JS functions for all controls. Like server side code and markup, any way can I enable intellisense for javascript properties and methods in visual studio? Now its listing all the common things.

Thanks,
Ben
Peter
Top achievements
Rank 1
 answered on 25 Jul 2013
1 answer
331 views

I’m currently working in a SharePoint 2010 environment and need to bind a telerik ASP.Net AJAX Grid (latest version) to some JSON data that is created by an ASHX handler.

Prerequisites:

  • I need to use the JSON output from the ASHX handler and can’t build/deploy my own WCF Service
  • I need to wrap the Grid in a SharePoint 2010 WebPart (ascx) so I do not want to use WebMethods from an ASPX page

 

I have searched the forum and the web but was not able to find a sample that does not use a WebMethod or a WCF service. Can someone please point me in the right direction for this scenario?

Thanks in advance
Dirk

Antonio Stoilkov
Telerik team
 answered on 25 Jul 2013
6 answers
321 views
Good morning,

I've done my fair share of searching for the past hour and haven't been able to solve what seems to be a simple mind boggling issue.

Please find below the following simple front end code.

<Rad:RadAjaxPanel ID="RadAjaxPanel1" EnableAJAX="true"  runat="server">
            <asp:DropDownList ID="ddlFirstDDL" AutoPostBack="true" OnSelectedIndexChanged="ddlFirstDDL_SelectedIndexChanged" runat="server" />
       
    </Rad:RadAjaxPanel>

Pretty basic, I know.  When changing the index of the DDL, the page is performing a full postback.  Swapping a different control in, like a CheckBoxList, works as expected with a partial postback.

What am I missing?
Antonio Stoilkov
Telerik team
 answered on 25 Jul 2013
1 answer
182 views
Hi,
I need to filter the files displayed in the browse dialogue window based on file types. I am using RadAsyncUpload control to
accomplish this.
  • When I browse in FF, I can see two browse button displayed. Clicking on first browse button doesn't open dialogue with file lists. Attached the image. I want a simple file upload control with single browse button. I had a similar issue in IE but resolved by adding the following. But  issue still persists in FF.
    <TeleControl:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1"> </TeleControl:RadStyleSheetManager>
                                    
  • When I browse with applying file filter for Image files(jpg,png), It shows all files in the open dialogue window instead of showing only those files with extension .jpg or .png. Attached the screen shot. But when I refresh the page it works fine. 
  • Can you please explain how does this file filter works in RadAsyncUpload w.r.t browsers. As far as I know, It depends on upload module. IE prefers silver light first where as FF prefers flash. Is that possible to make filters work in IE with having only flash (not silverlight)?. In which scenario does this combination (IE or FireFox with only flash) fails?.

Please find the aspx code:
 
<TeleControl:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1"></TeleControl:RadStyleSheetManager>

<TeleControl:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
<Localization Select="Browse" />
</TeleControl:RadAsyncUpload>

C# (asp.net page behind):
protected void Page_Load(object sender, EventArgs e)
 {
       var filter = new FileFilter();
        filter.Description = "GftxFiles(gftx,jpg)";
        filter.Extensions = new string[2];
        filter.Extensions[0] = "gftx";
        filter.Extensions[1] = "jpg";
        RadAsyncUpload1.FileFilters.Add(filter);
}


Plamen
Telerik team
 answered on 25 Jul 2013
3 answers
200 views
how to trim Filname on fileselected or upload
Shinu
Top achievements
Rank 2
 answered on 25 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?