Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
228 views
Hi,

I have menu control in my main page. My menu control i design using web user control. When i open rad window as popup window rad window coming behind menu control. Why that?

rad window comming behind of main page menu control

krds
lakmal
Shinu
Top achievements
Rank 2
 answered on 01 Mar 2010
6 answers
270 views
Hi I have a RadCombox column in each GridRow called "Actions". when I select action "Edit" I want to start editing the record, when I select action "Delete" I want to delete the record, when I select action "ActionC" I want to open a different RadWindow. Is this achievable? please help, thanks in advance

<telerik:GridTemplateColumn UniqueName="GridTemplateColumn1" ItemStyle-HorizontalAlign="Center" AllowFiltering="false">
         <ItemTemplate>
                 <telerik:RadComboBox ID="RadComboBox1" runat="server">
                           <Items>
                                  <telerik:RadComboBoxItem runat="server" Text="Select Action..." Value="SelectAction" />
                                  <telerik:RadComboBoxItem runat="server" Text="Edit" Value="Edit" />
                                   <telerik:RadComboBoxItem runat="server" Text="Delete" Value="Delete" />
                                    <telerik:RadComboBoxItem runat="server" Text="ActionC" Value="ActionC" />
                            </Items>
                   </telerik:RadComboBox>
           </ItemTemplate>
           <ItemStyle HorizontalAlign="Center"></ItemStyle>
</telerik:GridTemplateColumn>  
SoniTek
Top achievements
Rank 1
 answered on 28 Feb 2010
3 answers
138 views

Hello,

I have found when trying to set the item height/height for the vertical display, the values I set get ignored.
Here's my code behind: 

rrSearchResults.ScrollDirection = RotatorScrollDirection.Down | RotatorScrollDirection.Up;
rrSearchResults.ItemHeight = 200;

 

rrSearchResults.Height = 200;

When the page gets rendered, he following divs all have a inline style applied to them, with a height of 160px - 
rrSearchResults, rrRelativeWrapper, rrClipRegion. There is nothing in my css that explicitly sets a height.

Anyone have any thoughts on what could be the cause of this? This works fine for the horizontal display as the inline-style height of 160px does not get set.

Thanks,
Praveen.

Praveen Pawar
Top achievements
Rank 1
 answered on 28 Feb 2010
1 answer
78 views
Hello,

I'm trying to put in-place editing into my grid.  When I click the Edit image, the grid is placed into Edit mode properly.  However, whenever I hit the Cancel or Update buttons I am getting an error "Failed to load viewstate.  The control tree into which viewstate..." (please let me know if you need the full error message).

My grid HTML looks like this:

                    <telerik:RadGrid ID="rgDetails" runat="server" GridLines="None" AutoGenerateColumns="false" 
                        Skin="Office2007" AllowPaging="True" PageSize="15">  
                        <HeaderContextMenu> 
                            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                        </HeaderContextMenu> 
 
                        <PagerStyle Mode="NextPrevAndNumeric" /> 
                            <MasterTableView EditMode="InPlace" TableLayout="Fixed">  
                            <RowIndicatorColumn> 
                                <HeaderStyle Width="20px"></HeaderStyle> 
                            </RowIndicatorColumn> 
 
                            <ExpandCollapseColumn> 
                                <HeaderStyle Width="20px"></HeaderStyle> 
                            </ExpandCollapseColumn> 
                            <Columns> 
                                <telerik:GridBoundColumn UniqueName="RemittanceEntryDetailID" ReadOnly="true" DataField="RemittanceEntryDetailID" Display="false"></telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="RemittanceEntryID" ReadOnly="true" DataField="RemittanceEntryID" Display="false"></telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="ReciprocalID" ReadOnly="true" DataField="ReciprocalID" Display="false"></telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="ParticipantPayoutDetailID" ReadOnly="true" DataField="ParticipantPayoutDetailID" Display="false"></telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="FundID" DataField="FundID" ReadOnly="true" Display="false"></telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="FundName" DataField="FundName" ReadOnly="true" HeaderText="Fund">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Left" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridTemplateColumn DataField="CreditedHours" headertext="Hours">  
                                    <ItemStyle HorizontalAlign="Center" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Center" Width="90px" /> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblCreditedHours" CssClass="CenterText" runat="server" ><%#DataBinder.Eval(Container.DataItem, "CreditedHours")%></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtCreditedHours" Width="95%" CssClass="CenterText" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "CreditedHours")%>' NumberFormat-DecimalDigits="2" Type="Number"></telerik:RadNumericTextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="CreditedUnits" Headertext="Units">  
                                    <ItemStyle HorizontalAlign="Center" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Center" Width="90px" /> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblCreditedUnits" CssClass="CenterText" runat="server" ><%#DataBinder.Eval(Container.DataItem, "CreditedUnits")%></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtCreditedUnits" Width="95%" CssClass="CenterText" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "CreditedUnits")%>' NumberFormat-DecimalDigits="2" Type="Number"></telerik:RadNumericTextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="EntryExpectedContribution" Headertext="Calculated Contribution">  
                                    <ItemStyle HorizontalAlign="Center" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Center" Width="90px" /> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblCalculatedContribution" CssClass="CenterText" runat="server" ><%#DataBinder.Eval(Container.DataItem, "EntryExpectedContribution")%></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtCalculatedContribution" Width="95%" CssClass="CenterText" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "EntryExpectedContribution")%>' NumberFormat-DecimalDigits="2" Type="Currency"></telerik:RadNumericTextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="CreditedExpectedContribution" Headertext="Expected Contribution">  
                                    <ItemStyle HorizontalAlign="Center" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Center" Width="90px" /> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblExpectedContribution" CssClass="CenterText" runat="server" ><%#DataBinder.Eval(Container.DataItem, "CreditedExpectedContribution")%></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtExpectedContribution" Width="95%" CssClass="CenterText" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "CreditedExpectedContribution")%>' NumberFormat-DecimalDigits="2" Type="Currency"></telerik:RadNumericTextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="ContributionAmount" Headertext="Actual Contribution">  
                                    <ItemStyle HorizontalAlign="Center" Width="90px" /> 
                                    <HeaderStyle HorizontalAlign="Center" Width="90px" /> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblActualContribution" CssClass="CenterText" runat="server" ><%#DataBinder.Eval(Container.DataItem, "ContributionAmount")%></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtActualContribution" Width="95%" CssClass="CenterText" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "ContributionAmount")%>' NumberFormat-DecimalDigits="2" Type="Currency"></telerik:RadNumericTextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridEditCommandColumn EditImageUrl="~\images\edit.gif" ButtonType="ImageButton" UniqueName="EditCommandColumn">   
                                    <ItemStyle HorizontalAlign="Center" Width="40px" />   
                                    <HeaderStyle HorizontalAlign="Center" Width="40px" /> 
                                </telerik:GridEditCommandColumn> 
                            </Columns> 
                        </MasterTableView> 
                        <FilterMenu> 
                            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                        </FilterMenu> 
                    </telerik:RadGrid> 
 

My entire code-behind is as follows:

Imports THA  
Imports Telerik.Web.UI  
 
Partial Class EditRemittanceEntryDetail  
    Inherits System.Web.UI.Page  
 
    Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init  
        Dim intID As Integer = Request.QueryString("ID")  
        txtRemittanceEntryID.Text = intID 
 
        Call LoadRemittanceEntryDetail()  
    End Sub  
 
    Private Sub LoadRemittanceEntryDetail()  
        Dim dl As List(Of THA.ContributionAccounting.RemittanceEntryDetail) = THA.ContributionAccounting.GetRemittanceEntryDetails(0, txtRemittanceEntryID.Text, Session("DB"))  
        If Not (dl Is Nothing) AndAlso dl.Count > 0 Then  
            rgDetails.DataSource = dl 
        Else  
            rgDetails.DataSource = vbNullString 
        End If  
        rgDetails.DataBind()  
    End Sub  
 
    Protected Sub rgDetails_CancelCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgDetails.CancelCommand  
        e.Canceled = True 
        Call LoadRemittanceEntryDetail()  
    End Sub  
 
    Protected Sub rgDetails_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgDetails.ItemCommand  
        Select Case e.CommandName  
            Case "EditBtn"  
                e.Item.Edit = True 
                Call LoadRemittanceEntryDetail()  
        End Select  
    End Sub  
 
    Protected Sub rgDetails_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgDetails.UpdateCommand  
        e.Canceled = True 
        Call LoadRemittanceEntryDetail()  
    End Sub  
End Class  
 

As you can see I didn't even bother putting any code into my rgDetails_UpdateCommand event yet, although I envision updating my SQL Server database within this event before rebinding the grid.

Any help would be greatly appreciately.

I'm not sure if it's noteworthy or not, but this entire page is opened from a RadWindowManager and is basically a "pop-up" page.

Thanks.

Steve

Steven Black
Top achievements
Rank 1
 answered on 27 Feb 2010
1 answer
79 views
Hello i am trying to email the radgrid but i am unable to send it.

Its giving me error when i am trying to change it into Html.

Here is my code.
public void SendPMRSetupGrid(string FromEmail, string ToEmail, string Subject, RadGrid Gridview1) 
        { 
            MailMessage MessageToSend = new MailMessage(FromEmail, ToEmail); 
            MessageToSend.IsBodyHtml = true; 
            MessageToSend.Subject = Subject; 
            MessageToSend.Body = GridViewToHtml(Gridview1); 
            this.Send(MessageToSend); 
        } 
        private string GridViewToHtml(RadGrid gv) 
        { 
            Page p = new Page(); 
            p.EnableEventValidation = false; 
            RadScriptManager ScriptManag = new RadScriptManager(); 
            HtmlForm hf = new HtmlForm(); 
            p.Controls.Add(hf); 
            hf.Controls.Add(ScriptManag); 
            hf.Controls.Add(gv); 
            StringBuilder SB = new StringBuilder(); 
            StringWriter stringWrite = new StringWriter(SB); 
            HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); 
            p.DesignerInitialize(); 
            p.RenderControl(htmlWrite); 
            p = null; 
            return SB.ToString(); 
        }

I am getting the Exception at p.DesignerInitialize() method saying Request is not available in this context.... When i am using the normal Gridview i have no problem at all for sending it... But when trying to radgrid its throwing this exception.
shahid Aleem
Top achievements
Rank 1
 answered on 27 Feb 2010
14 answers
308 views
Hi,

this is shanker, I am doing one application .I am using filter template 
my code is

   <telerik:GridBoundColumn UniqueName="progress_card_type" DataField="progress_card_type" HeaderText="Progress Card Type" HeaderStyle-Width="200px" >
                        <FilterTemplate>
                            <telerik:RadComboBox ID="RadComboBoxCity" DataSourceID="SqlDataSource1" DataTextField="t"
                                DataValueField="progress_card_type_id" Height="100px" AppendDataBoundItems="true" SelectedText='<%# ((GridItem)Container).OwnerTableView.GetColumn("progress_card_type").CurrentFilterValue %>'
                                runat="server" OnClientSelectedIndexChanged="CityIndexChanged" >
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">

                                <script type="text/javascript">
                                    function CityIndexChanged(sender, args) 
                                    {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("progress_card_type", args.get_item().get_text(), "EqualTo");
                                    }
                                </script>

                            </telerik:RadScriptBlock>
                        </FilterTemplate>

<HeaderStyle Width="200px"></HeaderStyle>
                    </telerik:GridBoundColumn>


it's not working properly please send any solutions and  here i want text filed and value filed of rad combobox how to get that 


thanks and regards
shanker.b
shanker bangari
Top achievements
Rank 1
 answered on 27 Feb 2010
2 answers
131 views
Hi,

My requirement is when ever am check the check box some control is enable is true and check box is false that control enable false 


am using this code 

 CheckBox chech = (((Telerik.Web.UI.GridDataItem)(grdprogresssetup.EditItems[0]))).EditFormItem.FindControl("showattendance") as CheckBox;
                if (chech.Checked == true)
                {
                    RadComboBox rdp_start_date = (((Telerik.Web.UI.GridDataItem)(grdprogresssetup.EditItems[0]))).EditFormItem.FindControl("rdp_start_date") as RadComboBox;
                    RadComboBox rdp_end_date = (((Telerik.Web.UI.GridDataItem)(grdprogresssetup.EditItems[0]))).EditFormItem.FindControl("rdp_end_date") as RadComboBox;
                    rdp_start_date.Enabled = true;
                    rdp_end_date.Enabled = true;
                }
                else
                {
                    RadComboBox rdp_start_date = (((Telerik.Web.UI.GridDataItem)(grdprogresssetup.EditItems[0]))).EditFormItem.FindControl("rdp_start_date") as RadComboBox;
                    RadComboBox rdp_end_date = (((Telerik.Web.UI.GridDataItem)(grdprogresssetup.EditItems[0]))).EditFormItem.FindControl("rdp_end_date") as RadComboBox;
                    rdp_start_date.Enabled = false;
                    rdp_end_date.Enabled = false;
                }

But it's work only edit mode i want both insert and update 

how to solve that 

thanks and regards

shanker.B
shanker bangari
Top achievements
Rank 1
 answered on 27 Feb 2010
2 answers
146 views
Hi,

I need your help, pleas.. I'm trying  to edit some fields in my detailsview and it works fine except the RadDateTimePicker.
I used it in the EditItemTemplate as below:

<asp:TemplateField HeaderText="IN">  
                <EditItemTemplate>  
                    <telerik:RadDateTimePicker ID="RadDateTimePicker1" Runat="server"   
                        AutoPostBackControl='<%# bind("CHECKIN") %>' Culture="English (United States)"   
                        Enabled='<%# bind("CHECKIN") %>' SharedCalendar='<%# bind("CHECKIN") %>'   
                        SharedTimeView='<%# bind("CHECKIN") %>' Visible='<%# bind("CHECKIN") %>' >  
                         
                    </telerik:RadDateTimePicker>  
                </EditItemTemplate>  
                 
                <ItemTemplate>  
                    <asp:Label ID="Label1" runat="server" Text='<%# eval("CHECKIN") %>' DataFormatString="{0:MM/DD/YYYY HH:MI:SS AM}"  
                    HtmlEncode="false">  
                    </asp:Label>  
                </ItemTemplate>  
                  
            </asp:TemplateField>  

and i get this error:
System.InvalidCastException: Conversion from type 'Date' to type 'Integer' isnot valid.

i tried to solve this by many ways but all of them didn't work

I think the problem is in the data binding method but i couldn't find the correct format?

I appreciate your reply, Thanks 
Reem Reem
Top achievements
Rank 1
 answered on 27 Feb 2010
6 answers
122 views
I'm using Telerik Radcontrol and I have some problems with radgrid filtering controls. I want to use a dropdownlist control insted of a textfield and a filter image button. But my code doesn't work. Here my code, please help me:
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="tryFilter._Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
        </telerik:RadScriptManager> 
    
     
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True"  
            AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"  
            DataSourceID="SqlDataSource1" GridLines="None" Skin="Outlook"> 
<MasterTableView cellspacing="-1" datakeynames="ProductID" datasourceid="SqlDataSource1"> 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
    <Columns> 
        <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName"  
            SortExpression="ProductName" UniqueName="ProductName"> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="UnitsOnOrder" DataType="System.Int16"  
            HeaderText="UnitsOnOrder" SortExpression="UnitsOnOrder"  
            UniqueName="UnitsOnOrder"> 
        </telerik:GridBoundColumn> 
        <telerik:GridTemplateColumn DataField="Discontinued" HeaderText="Discontinued"  
            UniqueName="column"> 
            <EditItemTemplate> 
                <asp:TextBox ID="DiscontinuedTextBox" runat="server"  
                    Text='<%# Bind("Discontinued") %>'></asp:TextBox> 
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:Label ID="DiscontinuedLabel" runat="server"  
                    Text='<%# Eval("Discontinued") %>'></asp:Label> 
            </ItemTemplate> 
            <FilterTemplate> 
                <asp:DropDownList ID="cbbDiscontinued" AutoPostBack="true"  
                        OnSelectedIndexChanged="cbbDiscontinued_SelectedIndexChanged" runat="server"> 
                    <asp:ListItem Text="All" Value="-1"></asp:ListItem> 
                    <asp:ListItem Text="Active" Value="1"></asp:ListItem> 
                    <asp:ListItem Text="Lock" Value="0"></asp:ListItem> 
                </asp:DropDownList> 
            </FilterTemplate> 
        </telerik:GridTemplateColumn> 
    </Columns> 
</MasterTableView> 
        </telerik:RadGrid> 
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"  
            ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"  
            SelectCommand="SELECT * FROM [Products]"> 
        </asp:SqlDataSource> 
    
     
    </div> 
    </form> 
</body> 
</html> 
 
Default.aspx.cs
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
using Telerik.Web; 
using Telerik.Web.UI; 
 
namespace tryFilter 
{ 
    public partial class _Default : System.Web.UI.Page 
    { 
        protected void Page_Load(object sender, EventArgs e) 
        { 
 
        } 
 
        protected void cbbDiscontinued_SelectedIndexChanged(object sender, EventArgs e) 
        { 
            DropDownList cbbDiscontinued=(DropDownList)sender; 
            this.RadGrid1.Columns[2].CurrentFilterValue = cbbDiscontinued.SelectedValue; 
            this.RadGrid1.Columns[2].CurrentFilterFunction = GridKnownFunction.EqualTo; 
            this.RadGrid1.Rebind(); 
        } 
    } 
} 
 

tom cat
Top achievements
Rank 1
 answered on 27 Feb 2010
2 answers
140 views
I have 3 image buttons and a label. when i click on 2 of the 3 image buttons, the label gets updated with the appropriate text. when i click on the other, i get an error. they are exactly the same (from what i can see). here is the code (snippits):

When you click on the 2nd or 3rd image (ibCourse16 or ibCourse20), it works fine. When you click on the first (ibCourse17) you get an error.

You can also go to www.americance.com. From the home page in the 'Electrician' area, choose 'North Carolina' and any of the license types. Click the red 'Next'. FIRST: click on the middle image (NEC Grounding and Bonding Part I). The text at the bottom of the page changes. Click the third image (NEC Grounding and Bonding Part 2) - same result..all is ok. Click the first image. The text does not change and you see the 'Error on Page' at the bottom of the browser.

If I take this out of AJAX for course 17, I don't get an error, so it has something to do with that. However, it works for image 16 and 20.
 <telerik:AjaxUpdatedControl ControlID="CourseCatalogDesc" />

 


I'm stuck....
Thanks,
Susan

 

 

<table cellpadding=0 cellspacing=0 id="tblCourse17" width="240px" bgcolor="#E9EAEC" runat="server">

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="NormalBold" align="center" style="padding-bottom:5px; padding-top:5px">NEC 2008 Fundamentals</td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="Normal" align="center">$40.00 / 4 Hour Course</td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="7px"></td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center">

 

 

 

 

 

            <asp:ImageButton ID="ibCourse17" ImageUrl="images/bookimages/nc2008nectextbookcover.jpg" runat="server" /></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="5px"></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center" style="padding-bottom:5px">

 

 

 

 

 

            <asp:button ID="btnCourse17" Text="Add to Cart" runat="Server" /></td></tr>

 

 

 

 

 

 

 

</table>

 

 

 

 

 

<table cellpadding=0 cellspacing=0 id="tblCourse16" width="240px" runat="server">

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="NormalBold" align="center" style="padding-bottom:5px; padding-top:5px">NEC Grounding and Bonding</td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="Normal" align="center">$40.00 / 4 Hour Course</td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="7px"></td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center">

 

 

 

 

 

            <asp:ImageButton ID="ibCourse16" ImageUrl="images/bookimages/ncgroundingbonding1.jpg" runat="server" /></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="5px"></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center" style="padding-bottom:5px">

 

 

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center" style="padding-bottom:5px">

 

 

 

 

 

            <asp:button ID="btnCourse16" Text="Add to Cart" runat="Server" /></td></tr>

 

 

 

 

 

 

 

</table>

 

 

 

 

 

<table cellpadding=0 cellspacing=0 id="tblCourse20" width="240px" runat="Server">

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="NormalBold" align="center" style="padding-bottom:5px; padding-top:5px">NEC Grounding and Bonding 2</td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td class="Normal" align="center">$40.00 / 4 Hour Course</td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="7px"></td></tr>

 

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center">

 

 

 

 

 

            <asp:ImageButton ID="ibCourse20" ImageUrl="images/bookimages/ncgroundingbonding2.jpg" runat="server" /></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td height="5px"></td></tr>

 

 

 

 

 

    <tr>

 

 

 

 

 

        <td align="center" style="padding-bottom:5px">

 

 

 

 

 

            <asp:button ID="btnCourse20" Text="Add to Cart" runat="Server" /></td></tr>

 

 

 

 

 

 

</table>

 

 

 


THE LABEL
<

 

tr>

 

 

<td valign=top>

 

 

 

<asp:Label ID="CourseCatalogDesc" Runat="server" CssClass="Normal" /> </td></tr>

AJAX CODE

 

 

 

<telerik:AjaxSetting AjaxControlID="ibCourse16">

 

 

 

    <UpdatedControls>

 

 

 

        <telerik:AjaxUpdatedControl ControlID="CourseCatalogDesc" />

 

 

 

        <telerik:AjaxUpdatedControl ControlID="tblCourse17"/>

 

 

 

        <telerik:AjaxUpdatedControl ControlID="tblCourse16"/>

 

 

 

        <telerik:AjaxUpdatedControl ControlID="tblCourse20"/>

 

 

 

    </UpdatedControls>

 

 

 

 </telerik:AjaxSetting>

 

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="ibCourse20">

 

 

 

     <UpdatedControls>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="CourseCatalogDesc" />

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse17"/>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse16"/>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse20"/>

 

 

 

     </UpdatedControls>

 

 

 

 </telerik:AjaxSetting>

 

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="ibCourse17">

 

 

 

     <UpdatedControls>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="CourseCatalogDesc" />

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse16"/>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse20"/>

 

 

 

         <telerik:AjaxUpdatedControl ControlID="tblCourse17"/>

 

 

 

     </UpdatedControls>

 

 

 

 </telerik:AjaxSetting>

 

Susan
Top achievements
Rank 1
 answered on 27 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?