Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views

I'm looking to create this affect (see html) with the rad grid, and I could use some advice or a tutorial. I'm using an object datasource. The objects are "products" and there is a property for "prodcut can be ordered by each" instead of case.  When the flag is true I'd like to add, a extra row showing the each price, and a new textbox and to the line entry so it's still kind of the same line. I don't want it to be a NEW row in the grid because of sorting. I hope that make some sense. Hopefully the sample will clarify.


<table width="100%" border="0" cellspacing="1" cellpadding="1">
  <tr bgcolor="#999999">
    <td width="10%">Dist #</td>
    <td width="10%">Desc</td>
    <td width="10%">Price</td>
    <td width="10%">Uom</td>
    <td width="10%">Qty</td>
    <td width="10%">Par</td>
    <td width="10%">OH</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td>123</td>
    <td>Cheese</td>
    <td>1.25</td>
    <td>cs</td>
    <td><label>
      <input type="text" name="textfield14" id="textfield14" />
    </label></td>
    <td><input type="text" name="textfield14" id="textfield15" /></td>
    <td><input type="text" name="textfield14" id="textfield16" /></td>
  </tr>
  <tr bgcolor="#CCCCCC">
    <td colspan="7">
   
     <table width="100%" cellpadding="0" cellspacing="0">
        <td width="10%">124</td>
    <td width="10%">Milk</td>
    <td width="10%">12.25</td>
    <td width="10%">cs</td>
    <td width="10%"><input type="text" name="textfield2" id="textfield2" /></td>
    <td width="10%"><input type="text" name="textfield8" id="textfield8" /></td>
    <td width="10%"><input type="text" name="textfield9" id="textfield9" /></td>
  </tr>
  <tr bgcolor="#CCCCCC">
    <td width="10%">124</td>
    <td width="10%">Milk</td>
    <td width="10%">4.39</td>
    <td width="10%">ea</td>
    <td width="10%"><input type="text" name="textfield3" id="textfield3" /></td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
        </table>
    </td>
  </tr>
  <tr>
    <td>129</td>
    <td>Egg</td>
    <td>3.69</td>
    <td>cs</td>
    <td><input type="text" name="textfield14" id="textfield21" /></td>
    <td><input type="text" name="textfield14" id="textfield22" /></td>
    <td><input type="text" name="textfield14" id="textfield23" /></td>
  </tr>
  <tr bgcolor="#CCCCCC">
    <td>130</td>
    <td>Buttur</td>
    <td>3.12</td>
    <td>cs</td>
    <td><input type="text" name="textfield14" id="textfield24" /></td>
    <td><input type="text" name="textfield14" id="textfield25" /></td>
    <td><input type="text" name="textfield14" id="textfield26" /></td>
  </tr>
</table>
Kevin Babcock
Top achievements
Rank 1
 answered on 28 Dec 2008
1 answer
1.0K+ views
Hi,

I Am using radgrid in my project. i am implementing a functionality...

for that i need column index using column name. Can anybody please provide it.

Thanks.
Kevin Babcock
Top achievements
Rank 1
 answered on 28 Dec 2008
1 answer
120 views
Hi,
           In RadGrid when user click EDIT by checking a condition if 'TRUE' allow edit operation Else display "This particular record cannot be edited".
           In RadGrid1_ItemCommand
                if e.CommandName == "Edit"
               {
                  if (true)
                     allow edit
                 else
                       RadGrid1.MasterTableView.ClearEditItems();
                     alert(This particular record cannot be edited);  // I need to perform cancel edit operation here itself
             }

I can't do RadGrid1.MasterTableView.ClearEditItems(); in RadGrid1_UpdateCommand(){}
Richard
Top achievements
Rank 2
 answered on 27 Dec 2008
1 answer
128 views
Hi folks

What is the best way to do some simple input validation on the fields in the popup
edit form before the Update is actioned?

Thanks

Clive
Richard
Top achievements
Rank 2
 answered on 27 Dec 2008
1 answer
113 views
Hi,

Pls refer to
http://demos.telerik.com/aspnet-ajax/TabStrip/Examples/ApplicationScenarios/LoadOnDemand/DefaultCS.aspx


I realize that if i ajaxified RadTabStrip1 updating control RadMultiPage1, everytime it postback, the whole RadMultiPage is re-rendered and all the Dynamic UserControl loaded are lost.

The code given in the Demo is not completed and i am not sure where i did wrong. I'll appreciate if the code can be attached.

Thanks,
Rgds,
Andy
andy
Top achievements
Rank 1
 answered on 27 Dec 2008
1 answer
136 views
Template Column with a DatePicker. Going into edit works fine but on insert i get an 'Specific Cast Invalid' error.

                                <telerik:GridTemplateColumn HeaderText="Start Date" UniqueName="StartDate">
                                    <ItemTemplate>
                                        <asp:Label ID="lblStartDate" runat="server" Text='<%# Bind("StartDate") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <telerik:RadDatePicker ID="rdpStartDate" SelectedDate='<%# Bind("StartDate") %>' runat="server">
                                        </telerik:RadDatePicker>
                                    </EditItemTemplate>
                                </telerik:GridTemplateColumn>
Steve Y
Top achievements
Rank 2
 answered on 27 Dec 2008
0 answers
111 views
Is there a way to configure the datepicker to be able to display and select quarters as a time period:

For ex --> Q1 Q2 Q3 Q4

Need this for a reporting application for which I need the control to be intelligent enough to know the start and end dates of the quarter chosen.

FYI, we currently are using the Q3 2008 version of the controls

Thanks

Arun
Top achievements
Rank 1
 asked on 26 Dec 2008
1 answer
127 views
Hi

I am having problems with the text alignment on the rad scheduler. I set an appointment like so

 

<AppointmentTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" ImageUrl='<%# "~/Main/Sys_Shared/Images/icons/" + Eval("ActivityType")+ ".gif" %>' />

 

 

<asp:Literal ID="AppointmentSubject" runat="server" Text='<%# Eval("Subject") %>'></asp:Literal>

 

 

 

</AppointmentTemplate>

It has a small image in it and then the subject of the appointment. However in for example the day view the text is right at the bottom of the appointment and is cut off at the base of the font. I've tried looking to see if the was an alignment property or somehting that might sort it but no luck.

Any ideas what may be causing this?

Thx
 
Gary.

 

Atanas Korchev
Telerik team
 answered on 26 Dec 2008
1 answer
71 views
Where are the "Suggest a new product" forum located?
Dimo
Telerik team
 answered on 26 Dec 2008
7 answers
344 views
I have a Prometheus radWindow that pops up when I click a button on my radGrid.  The radWindow pops like I want.  But now I want to close the popup radwindow when I click a asp.net button.  How can I do this?

Thanks,
Bob
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 26 Dec 2008
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?