Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
58 views
My grid is set up to batchedit mode with click-to-edit.

I've found a partial solution - use gridboundcolumn and gridcolumntemplate to control whether or not a column is batch editable. 

But can it be done programatically? preferrably on the server side during the databound event because i have to look at a value in the datarow.

Thanks
Raddy Rad
Top achievements
Rank 1
 answered on 04 Jan 2014
3 answers
217 views
   How to set max length of input area for editable RadAutoComleteBox  so that use can not enter more than specified max length?
Princy
Top achievements
Rank 2
 answered on 04 Jan 2014
1 answer
190 views
Hi,

I want to migrate Telerik to the version 2013.3.1217.40 and I notice that the button style in my EditFormSettings (usercontrol) has change.

I want to remove the default css for RadGrid_WebBlue input[type="button"] and to apply only mine.  I'm using the WebBlue skin with IE9.

My client like this skin except buttons!!!

I let you screenshot to explain what I'm trying to solve.

Thanks for your help

Steeve
<asp:Button ID="btnLinkEditCancel" runat="server" CssClass="Button" Style="margin-top: 6px;" ClientIDMode="Static" CommandName="Cancel" Text="<%$Resources:Application, Cancel %>" />
Princy
Top achievements
Rank 2
 answered on 04 Jan 2014
1 answer
389 views
I have a grid where I popup a modal user control to enter / view payment information. There is one button that when clicked opens another web site in a RadWindow. When this button is clicked I want to show the radwindow and close the edit form. I can show the window okay, but I cannot figure out how to close the edit window from within the user control.
<telerik:RadGrid ID="uxPaymentsGrid" runat="server"
                           AutoGenerateColumns="false"
                           AllowMultiRowSelection="false"
                           OnNeedDataSource="uxPaymentsGrid_NeedDataSource"
                           OnCustomAggregate="uxPaymentsGrid_CustomAggregate"
                           OnItemDataBound="uxPaymentsGrid_ItemDataBound"
                           OnSelectedIndexChanged="uxPaymentsGrid_SelectedIndexChanged"
                           OnDeleteCommand="uxPaymentsGrid_DeleteCommand"
                           OnUpdateCommand="uxPaymentsGrid_UpdateCommand">
                           <MasterTableView ShowFooter="true" DataKeyNames="PaymentId" EditMode="PopUp">
                               <Columns>
                                   <telerik:GridBoundColumn DataField="PaymentId" DataType="System.Guid" HeaderText="PaymentId" Display="false"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="Amount" DataType="System.Decimal" HeaderText="Amount" DataFormatString="{0:C}" Aggregate="Custom" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="PaymentType" DataType="System.String" HeaderText="Type" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridCheckBoxColumn DataField="Deductible" DataType="System.Boolean" HeaderText="Ded" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" Display="true"></telerik:GridCheckBoxColumn>
                                   <telerik:GridBoundColumn DataField="License" DataType="System.String" HeaderText="License" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="DOB" DataType="System.DateTime" HeaderText="DOB" DataFormatString="{0:d}" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="PartialAccount" DataType="System.String" HeaderText="Account" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="DExpires" DataType="System.Int32" HeaderText="Expires" DataFormatString="{0:M/yyyy}" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="ApprovalCode" DataType="System.String" HeaderText="App. Code" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="DTransactionId" DataType="System.String" HeaderText="Trans ID" Display="true"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn DataField="PaymentDate" DataType="System.DateTime" HeaderText="Paid" DataFormatString="{0:MM/dd/yyyy}" Display="true"></telerik:GridBoundColumn>
                               </Columns>
                               <EditFormSettings EditFormType="WebUserControl" UserControlName="PaymentControl.ascx">
                                   <PopUpSettings Modal="true" Width="640px" />
                               </EditFormSettings>
                               ...
Princy
Top achievements
Rank 2
 answered on 04 Jan 2014
1 answer
120 views
Hi,
 I want to apply Specific css on RadTexBox and RadTextArea not for RadDatePicker Please help me for that with example.

Kind Regards,
Rahul
Princy
Top achievements
Rank 2
 answered on 04 Jan 2014
2 answers
1.1K+ views
Hi,

How Apply the css on RadComboBox  like as Height,width, Help me give a examples.

Kind Regards,
Rahul
Rahul
Top achievements
Rank 1
 answered on 04 Jan 2014
3 answers
177 views

Hello there,


Our requirement is for a RadGrid to provide inserts and edits to the rows.  At any given time if the user does not like what they have added, they can hit a "reload" button and the original dataset is reloaded to the grid.  This piece works fine.







However



Upon completion of inserted rows and edits to existing rows, the user will click a Submit button on a form and all of the new and edited data will be committed to the database. 







I am struggling with reading the radgrid to update to the database.



How do I loop through the rows...I have tried a couple methods to capture each row and so I may execute a SP to insert the row.







However I cannot seem to be able to read the rows, while they are int's strings etc.  my latest attempt was to just capture the text from each GridDataItem, based on a forum post I found.







For Each row As GridDataItem In rgMyGrid.Items

Dim ID As String = row.Item("ID").Text

Dim Rate As String = row.Item("Rate").Text

Dim Description As String = row.Item("Description").Text

Next

What are my options?  It does not appear I can pull the radgrid into a datatable. And my attempts along those lines failed.







So I am attempting to go row by row, which will work provided i can



1. identify each row



2. extract the data value from each column



3. convert to appropriate datatype







Thank you for suggestions



ps - i forgot to mention this is intended for VB codebehind.  thanks.

















Princy
Top achievements
Rank 2
 answered on 04 Jan 2014
5 answers
116 views
I'm creating a page that is modeled off of Book A Car demo that is listed on the overview page of the grid. When the user clicks on the row in the grid, it expands to show the image of the car and details. Is there a way to make the details in that expanded view editable by clicking an edit button (I would add this to the expanded view)?

For instance, the user clicks on the row in the grid and it expands to show the details on the car. They can then click on an edit button that may be located in the upper right corner of the expanded view. That would then change the price to an editable text field with the current price in it. Once done, they click the update button and it updates the database with the new price.

Is this possible with this specific layout, and if so, how?

Steve
Top achievements
Rank 1
 answered on 04 Jan 2014
5 answers
405 views
I have made my own custom HTTP handler to run some server side validation on files before the upload completes. I have 2 questions:

  1. If the file does not pass validation, I would like to display an error on the upload page under the uploaded file. How can I do that?
  2. If the file does not pass validation, I would like to delete it (or not have it save to the disk at all in the first place). Is there a way to do that?

Thanks.
Gary
Top achievements
Rank 1
 answered on 03 Jan 2014
2 answers
138 views

Is it possible to install multiple versions of the ASP.NET Ajax Telerik Controls on the same machine?


I have installed 2013 Q3 Net 40 but want to install a version from 2011. Our projects are using 2011 and the team does not want to update to 2013.

Raymond
Top achievements
Rank 1
 answered on 03 Jan 2014
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?