Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
425 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
176 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.2K+ 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
208 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
133 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
449 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
174 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
1 answer
67 views
Hi.
i have two level editable grid. On expand is it possible to hide the parent edit column?
Shinu
Top achievements
Rank 2
 answered on 03 Jan 2014
5 answers
98 views
Hello.

I'm using the RadPersistenceManager in a grid of my system. When I group by some field, no problem, the group uses the column label for its label. But when I change my page, and return to the previous page (where is my grid), the grouping is using the datafield's
name of the column.

For example:

Account
Name | Adress | Phone

After changin and returning to the page:

User.AccountDescription
Name | Adress | Phone

How can I fix it?

Regards.

Daniel
Telerik team
 answered on 03 Jan 2014
1 answer
178 views
If I have the timeslots set to 7:00am - 10:00pm, I need to set the start time and end times in the advanced insert and advanced edit forms to be the same. Currently, they are 8:00am - 5:30pm. I need to do this client side. All the examples I see do this server side.
Boyan Dimitrov
Telerik team
 answered on 03 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?