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

I am using the <telerik:RadSplitter> however I cannot get it to resize the width properly to 100%.

I have the following :-

<body>
       <header>this is the header</header>
        <div id="body">
            <section class="content-wrapper main-content clear-fix">
                <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" EnableViewState="false" LiveResize="True" BorderSize="0" CssClass="Splitter">
                    <telerik:RadPane ID="RadPane1" runat="server" Width="311" BackColor="#ffffff" CssClass="Splitter">
                        <uc1:UCMainMenu ID="UCMainMenu1" runat="server" />
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="RadSplitbar2" runat="server" CollapseMode="Forward" >
                    </telerik:RadSplitBar>
                    <telerik:RadPane ID="Pane2" runat="server" BackColor="#FFFFFF" CssClass="Splitter">
                        <asp:ContentPlaceHolder runat="server" ID="MainContent" />
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </section>
        </div>
        <footer>this is the footer</footer>
</body>

and my CSS is as follows :-

html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

form {
    margin: 0;
    padding: 0;
    height: 100%;  
}

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

#body {
    background-color: #efeeef;
    clear: both;
    padding-bottom: 35px;
    height: 100%;
    width: 100%;
}

    .main-content {
        padding-left: 10px;
        padding-top: 30px;
        height: 100%;
        width: 100%;
        }


header .content-wrapper {
    padding-top: 20px; 
}


.Splitter {
    height: 100% !important; 
    width: 100% !important; 
}

How can I get it to resize the width of the right pane to 100% of the screen?

When I remove the radsplitter and put a normal asp.net control, everything works as its supposed to.

Thanks

Johann
Gokul
Top achievements
Rank 1
 answered on 03 May 2013
4 answers
251 views
I have a GridView that gets its data from a Microsoft SQL database.

The Person table inside of my database has a few columns
ID, Name ,Surname, Age, Address and Status

The GridView only has 2 columns that get populated 'Name' and 'Status' from my Person table in the database.
The Status can either be 'Active' or 'Inactive'.

Then an additional update column was added to my grid view.
My gridView columns look like the following

<telerik:GridBoundColumn DataField="Name" HeaderText="First Name"
meta:resourcekey="GridBoundColumnResource1" UniqueName="fName" Resizable="False" />
 
<telerik:GridBoundColumn DataField="Status" HeaderText="Status"
meta:resourcekey="GridBoundColumnResource2" UniqueName="currentStatus" Resizable="False" />
 
<telerik:GridTemplateColumn UniqueName="TemplateUpdateColumn">
<ItemTemplate>
<asp:LinkButton ID="Update" runat="server" AutoPostBack="true" " Text="Update" ><img src="../icons/update.ico"/></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>

Each row that gets added into my GridView it will also have an update button.

All that i need to happen is that when i click on the update button for that specific item in the GridView the corrasponding item in my database my be set from active to Inactive.

i am using C# asp.net and linq.
Princy
Top achievements
Rank 2
 answered on 03 May 2013
3 answers
274 views
This could just be my lack of understanding about ASP.Net...

I'm using the Calendar control. When someone clicks on an appointment, I want to open a new browser window to a certain URL which I dynamically construct.

I can achieve this with Response.Redirect, but it won't open in a new window (this part is important for various reasons).
Protected Sub r_scheduler_AppointmentClick(sender As Object, e As Telerik.Web.UI.SchedulerEventArgs) Handles r_scheduler.AppointmentClick
    Response.Redirect("http://www.google.com", False)
End Sub

So the above code works great (except it won't open in a new window).When I try to change it using various tricks to open links in a new window, nothing seems to work. E.g.
Response.Write("<script>")
Response.Write("window.open('http://www.google.com','_blank')")
Response.Write("</script>")

It seems like the event handler executes code server side while i need to execute code client-side, but I don't know how to achieve my goal. Am I approaching the problem in a crazy manner? Is there an easier way to make double-clicking appointments open a new window with an arbitrary URL?
Shinu
Top achievements
Rank 2
 answered on 03 May 2013
1 answer
144 views
I am using radnumerictextbox and I have this code below, as soon as I type and go on the other textbox even though I typed all 123456789123456 like that it gives me shows me totally different results 70368744177664 like this...

<telerik:RadNumericTextBox ID="radtxtDefaultFee" runat="server" Width="300px">
<NumberFormat DecimalDigits="3" AllowRounding="true" />
</telerik:RadNumericTextBox>
Shinu
Top achievements
Rank 2
 answered on 03 May 2013
0 answers
120 views
Hi Team,

I have a radupload control in my page with a property EnableFileInputSkinning that is set to false, i needed to disable this property so i can apply my own design for the control. However, when this porperty is set to false my localization for the browse button is not working. Text is always set to "Browse....".

Attached is the sample code of my control.
<telerik:RadUpload ID="uscUploadMetadata" runat="server" MaxFileInputsCount="1" CssClass="fileupload"
                            ControlObjectsVisibility="None" EnableFileInputSkinning="false" OnClientAdded="keyboardSupport">
                                <Localization Select="<%$Resources: Browse%>" Remove="<%$Resources:Global, Remove%>">                     </Localization>
                            </telerik:RadUpload>

Please help me with this one.

Thank you,

Dean

Dean
Top achievements
Rank 1
 asked on 03 May 2013
2 answers
317 views

Hello,
I want to add a RadSkinManager by coding, so below is my codes:

protected void Page_Load(object sender, EventArgs e)
{
    RadSkinManager skinManager = new RadSkinManager();
    skinManager.Skin = "Forest";
}

But nothing was happened, it doesn't work. When I write code like this:

protected void Page_Load(object sender, EventArgs e)
{
    RadSkinManager skinManager = new RadSkinManager();
    //skinManager.Skin = "Forest";
    skinManager.ApplySkin(RadPane1,"Forest");
}

 It works well. But I want to change skin for all the RadControls in the page, not one of them.If it can works,I could write these code in
BasePage, and let all the pages inherit it , so that I don't need to add RadSkinManager for each page.
George Gergues
Top achievements
Rank 1
 answered on 02 May 2013
1 answer
174 views
I am creating a RadGrid in my Page_Init. Intially when the screen first comes up the hierarchy will not be defined. When the user clicks on a button, the page will refresh and in certail cases I will want the grid to have hierarchy and it others not. The problem is when the page_init first fires and the grid is created with no hierarchy. Then the user clicks, page_init fires and the code to add hierarchy runs with no errors. The page displays but no hierarchy is shown. The DetailTableDataBind does not even fire. If I set up the hierarchy when the page first loads and then the user clicks the button, the hierarchy shows. I must be doing something wrong in code to have my changes not applied. Please let me know.

I declare a RadGrid1 in my .aspx.vb page
Private WithEvents RadGrid1 As RadGrid = New RadGrid()
I declare a placeholder on my aspx page
<table id="tblTelerikDetails" cellpadding="0" cellspacing="0" width="1500" style="background-color:white" border="1">
    <tr>
        <td>
            <asp:PlaceHolder EnableViewState="false" ID="PlaceHolder1" runat="server" />
        </td>
    </tr>
</table>
In my page_init i call the defineGridStructure. I check the variable mSubCodesAvailable in 2 places to setup my hierarchy.
Again, if I comment out the IF part so the hierarchy gets setup initially, all is good. It is when the grid does not setup hierarchy on the first page_init, but tries to set it up on the second page_init that the hierarchy does not work.
Private Sub defineGridStructure()
     RadGrid1.ID = "RadGrid1"
     RadGrid1.Width = Unit.Pixel(1500)
     RadGrid1.Height = Unit.Pixel(700)
     RadGrid1.MasterTableView.EditMode = GridEditMode.InPlace
     RadGrid1.AllowPaging = True
     RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric
     RadGrid1.AutoGenerateColumns = False
     RadGrid1.ShowStatusBar = True
     RadGrid1.AllowSorting = True
     RadGrid1.AllowFilteringByColumn = True
     RadGrid1.Skin = "WebBlue"
     RadGrid1.ClientSettings.ClientEvents.OnGridCreated = "GetGridObject"
     RadGrid1.ClientSettings.Scrolling.FrozenColumnsCount = 2
     RadGrid1.ClientSettings.AllowColumnsReorder = True
     RadGrid1.ClientSettings.ColumnsReorderMethod = GridClientSettings.GridColumnsReorderMethod.Swap
     RadGrid1.ClientSettings.Selecting.AllowRowSelect = True
     RadGrid1.ClientSettings.Resizing.AllowColumnResize = True
     RadGrid1.ClientSettings.Scrolling.AllowScroll = True
     RadGrid1.ClientSettings.Scrolling.UseStaticHeaders = True
     RadGrid1.ClientSettings.Scrolling.SaveScrollPosition = True
     RadGrid1.MasterTableView.EnableViewState = False
     RadGrid1.MasterTableView.PageSize = 50
     RadGrid1.MasterTableView.AllowMultiColumnSorting = True
     RadGrid1.MasterTableView.DataKeyNames = New String() {"DetailID", "Day"}
     If mSubCodesAvailable Then
         RadGrid1.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerBind
         RadGrid1.MasterTableView.HierarchyDefaultExpanded = True
     End If
     columnCreation("Geography", "Geography", RadGrid1)
     columnCreation("Circ Type", "CirculationTypeDescription", RadGrid1)
     columnCreation("Household", "HouseHold_Count", RadGrid1)
     columnCreation("Total Cov", "TotalCoverage", RadGrid1)
     If miZipCodeStoreAssociationTypeID > 0 Then
         columnCreation("Location Market", "LocationMarket", RadGrid1)
         columnCreation("Location Number", "LocationNumber", RadGrid1)
         columnCreation("Location Name", "LocationName", RadGrid1)
         columnCreation("Distance", "Distance", RadGrid1)
         columnCreation("Sales", "Sales", RadGrid1)
         columnCreation("Total Sales", "TotalSales", RadGrid1)
         columnCreation("BOS", "BOS", RadGrid1)
         columnCreation("Cume BOS", "CumeBOS", RadGrid1)
         columnCreation("SPH", "SPH", RadGrid1)
         columnCreation("SPH Index", "SPHIndex", RadGrid1)
     End If
     If mstrClientDataCategoryID1Description.Trim <> "" Then
         columnCreation(mstrClientDataCategoryID1Description.Trim, "CD1", RadGrid1)
     End If
     If mstrClientDataCategoryID2Description.Trim <> "" Then
         columnCreation(mstrClientDataCategoryID2Description.Trim, "CD2", RadGrid1)
     End If
     If mstrClientDataCategoryID3Description.Trim <> "" Then
         columnCreation(mstrClientDataCategoryID3Description.Trim, "CD3", RadGrid1)
     End If
     If mstrReportDemographicID1Description.Trim <> "" Then
         columnCreation(mstrReportDemographicID1Description.Trim, "Demographic1", RadGrid1)
     End If
     If mstrReportDemographicID2Description.Trim <> "" Then
         columnCreation(mstrReportDemographicID2Description.Trim, "Demographic2", RadGrid1)
     End If
     If mstrReportDemographicID3Description.Trim <> "" Then
         columnCreation(mstrReportDemographicID3Description.Trim, "Demographic3", RadGrid1)
     End If
     If mstrReportDemographicID4Description.Trim <> "" Then
         columnCreation(mstrReportDemographicID4Description.Trim, "Demographic4", RadGrid1)
     End If
     If mstrReportDemographicID5Description.Trim <> "" Then
         columnCreation(mstrReportDemographicID5Description.Trim, "Demographic5", RadGrid1)
     End If
     columnCreation("Day", "Day", RadGrid1)
     columnCreation("Selected", "Selected", RadGrid1)
     If UcHeader.objSession.ApplicationId <> CInt(ConfigurationManager.AppSettings("MediaviewerAppID")) Then
         columnCreation("Forced", "Forced", RadGrid1)
     End If
     columnCreation("Circ", "Circ", RadGrid1)
     columnCreation("Coverage", "Coverage", RadGrid1)
     columnCreation("Zones", "Zones", RadGrid1)
     If UcHeader.objSession.ApplicationId <> CInt(ConfigurationManager.AppSettings("MediaviewerAppID")) Then
         If miVersionsCategoryID > 0 Then
             columnCreation("Version", "Version", RadGrid1)
             columnCreation("Sub-Version Category", "SubVersionCategory", RadGrid1)
         End If
         If miDeliveryCodeCount > 0 Then
             columnCreation("Delivery Code", "DeliveryCode", RadGrid1)
         End If
         Dim dpCounter As Integer = 1
         Dim dpCollection As IList(Of RadListBoxItem) = rlbDistributionPatterns.CheckedItems
         For Each item As RadListBoxItem In dpCollection
             columnCreation(item.Text, "DP" & dpCounter.ToString, RadGrid1)
             dpCounter += 1
         Next
     End If
     If mSubCodesAvailable Then
         Dim tableSubCode As New GridTableView(RadGrid1)
         tableSubCode.Name = "SubCodes"
         tableSubCode.DataKeyNames = New String() {"SubCodeID", "Day"}
         tableSubCode.Width = Unit.Percentage(100)
         columnSubCodeCreation("SubCode", "Sub_Code", tableSubCode)
         columnSubCodeCreation("Household", "HouseHold_Count", tableSubCode)
         If mstrClientDataCategoryID1Description.Trim <> "" Then
             columnSubCodeCreation(mstrClientDataCategoryID1Description.Trim, "CD1", tableSubCode)
         End If
         If mstrClientDataCategoryID2Description.Trim <> "" Then
             columnSubCodeCreation(mstrClientDataCategoryID2Description.Trim, "CD2", tableSubCode)
         End If
         If mstrClientDataCategoryID3Description.Trim <> "" Then
             columnSubCodeCreation(mstrClientDataCategoryID3Description.Trim, "CD3", tableSubCode)
         End If
         If mstrReportDemographicID1Description.Trim <> "" Then
             columnSubCodeCreation(mstrReportDemographicID1Description.Trim, "Demographic1", tableSubCode)
         End If
         If mstrReportDemographicID2Description.Trim <> "" Then
             columnSubCodeCreation(mstrReportDemographicID2Description.Trim, "Demographic2", tableSubCode)
         End If
         If mstrReportDemographicID3Description.Trim <> "" Then
             columnSubCodeCreation(mstrReportDemographicID3Description.Trim, "Demographic3", tableSubCode)
         End If
         If mstrReportDemographicID4Description.Trim <> "" Then
             columnSubCodeCreation(mstrReportDemographicID4Description.Trim, "Demographic4", tableSubCode)
         End If
         If mstrReportDemographicID5Description.Trim <> "" Then
             columnSubCodeCreation(mstrReportDemographicID5Description.Trim, "Demographic5", tableSubCode)
         End If
         columnSubCodeCreation("Selected", "Selected", tableSubCode)
         If UcHeader.objSession.ApplicationId <> CInt(ConfigurationManager.AppSettings("MediaviewerAppID")) Then
             columnSubCodeCreation("Forced", "Forced", tableSubCode)
         End If
         columnSubCodeCreation("Circ", "Circ", tableSubCode)
         columnSubCodeCreation("Coverage", "Coverage", tableSubCode)
         If UcHeader.objSession.ApplicationId <> CInt(ConfigurationManager.AppSettings("MediaviewerAppID")) Then
             Dim dpCounter As Integer = 1
             Dim dpCollection As IList(Of RadListBoxItem) = rlbDistributionPatterns.CheckedItems
             For Each item As RadListBoxItem In dpCollection
                 columnSubCodeCreation(item.Text, "DP" & dpCounter.ToString, tableSubCode)
                 dpCounter += 1
             Next
         End If
     End If
     Me.PlaceHolder1.Controls.Add(RadGrid1)
 End Sub
I have my 2 procedures to fill my RadGrid1
Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
    If mintCircSetID > 0 Then
        Dim intIndex As Integer = 0
        Dim strSortedColumn As String = ""
        Dim strSortClause As String = ""
        mstrSQL = ""
        mstrSQL = "EXEC WB_sp_RetrieveGeographySelection_ForTelerik '" & mstrSessionID & "'," & mintEventID
        If mblnFullRunUtilizedInd Or cbSingleZip.Checked Then
            mstrSQL = mstrSQL & ",0"
        Else
            mstrSQL = mstrSQL & ",1"
        End If
        If cbSundayFR.Checked Or cbSundayHD.Checked Or cbSundaySC.Checked Or cbSundayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbMondayFR.Checked Or cbMondayHD.Checked Or cbMondaySC.Checked Or cbMondayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbTuesdayFR.Checked Or cbTuesdayHD.Checked Or cbTuesdaySC.Checked Or cbTuesdayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbWednesdayFR.Checked Or cbWednesdayHD.Checked Or cbWednesdaySC.Checked Or cbWednesdayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbThursdayFR.Checked Or cbThursdayHD.Checked Or cbThursdaySC.Checked Or cbThursdayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbFridayFR.Checked Or cbFridayHD.Checked Or cbFridaySC.Checked Or cbFridayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        If cbSaturdayFR.Checked Or cbSaturdayHD.Checked Or cbSaturdaySC.Checked Or cbSaturdayMX.Checked Then
            mstrSQL = mstrSQL & ",1"
        Else
            mstrSQL = mstrSQL & ",0"
        End If
        mstrSQL = mstrSQL & "," & mintParentMap
        If cbSundayFR.Checked Or cbMondayFR.Checked Or cbTuesdayFR.Checked Or cbWednesdayFR.Checked Or cbThursdayFR.Checked Or cbFridayFR.Checked Or cbSaturdayFR.Checked Then
            mstrSQL = mstrSQL & ",1,1,1"
        Else
            If cbSundayHD.Checked Or cbMondayHD.Checked Or cbTuesdayHD.Checked Or cbWednesdayHD.Checked Or cbThursdayHD.Checked Or cbFridayHD.Checked Or cbSaturdayHD.Checked Then
                mstrSQL = mstrSQL & ",1"
            Else
                mstrSQL = mstrSQL & ",0"
            End If
            If cbSundayMX.Checked Or cbMondayMX.Checked Or cbTuesdayMX.Checked Or cbWednesdayMX.Checked Or cbThursdayMX.Checked Or cbFridayMX.Checked Or cbSaturdayMX.Checked Then
                mstrSQL = mstrSQL & ",1"
            Else
                mstrSQL = mstrSQL & ",0"
            End If
            If cbSundaySC.Checked Or cbMondaySC.Checked Or cbTuesdaySC.Checked Or cbWednesdaySC.Checked Or cbThursdaySC.Checked Or cbFridaySC.Checked Or cbSaturdaySC.Checked Then
                mstrSQL = mstrSQL & ",1"
            Else
                mstrSQL = mstrSQL & ",0"
            End If
        End If
        intIndex = UBound(Split(hidSortInformation.Value, ","))
        Do While intIndex >= 0
            strSortedColumn = Trim(Split(hidSortInformation.Value, ",")(intIndex))
            strSortClause = strSortClause & strSortedColumn & ","
            intIndex -= 1
        Loop
        strSortClause = Left(strSortClause, Len(strSortClause) - 1)
        mstrSQL = mstrSQL & ",'" & strSortClause & "',"
        If cbSortingByParent.Checked Then
            mstrSQL = mstrSQL & "1"
        Else
            mstrSQL = mstrSQL & "0"
        End If
        mstrSQL = mstrSQL & ",''"
        If Not e.IsFromDetailTable Then
            RadGrid1.DataSource = GetDataTable(mstrSQL & ",0,0,''")
        End If
    End If
End Sub
Private Sub RadGrid1_DetailTableDataBind(sender As Object, e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles RadGrid1.DetailTableDataBind
    Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem)
    Select Case e.DetailTableView.Name
        Case "SubCodes"
            Dim detailID As Integer = dataItem.GetDataKeyValue("DetailID").ToString()
            Dim Day As String = dataItem.GetDataKeyValue("Day").ToString()
            If mintCircSetID > 0 Then
                e.DetailTableView.DataSource = GetDataTable(mstrSQL & ",1," & detailID & ",'" & Day & "'")
            End If
    End Select
End Sub
in my Page_Load I do the following
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim grid As RadGrid = CType(PlaceHolder1.FindControl("RadGrid1"), RadGrid)
        RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, grid)
End Sub
David
Top achievements
Rank 1
 answered on 02 May 2013
1 answer
100 views
Is it a way for removing/replacing icon when button is disabled ? 
Sabby
Top achievements
Rank 1
 answered on 02 May 2013
2 answers
223 views
I have used this tutorial:

http://www.telerik.com/support/kb/aspnet-ajax/window/adding-a-custom-button-to-radwindow-titlebar.aspx

to add a custom button to the title bar of my RadWindow. I now want to add a RadToolTip to that button, so that when I click it I get a nice sticky tooltip which I can use in various ways. but for the life of me I can't get it working. Does anyone have any examples of doing this? I've tried specifying a unique ID for my command button, then using that in conjunction with the tooltip, but it doesn't appear to be working.

my tooltip is defined as such:

<telerik:RadToolTip Animation="Slide" ID="shellRadToolTip" IsClientID="true" Position="BottomLeft" runat="server" ShowEvent="OnClick" style="z-index:10000 !important;" TargetControlID="btnSwitchSite">
  <div>
    TOOLTIP
  </div> 
</telerik:RadToolTip>

my custom button looks like this:

<li><a id="btnSwitchSite" class="rwControlButtonSite" href="javascript:void(0)" ></a></li>

and if I add this code and try to handle it manually:

<li><a id="btnSwitchSite" class="rwControlButtonSite" href="javascript:void(0)" onmousedown="winShell_Site(event);"></a></li>

function winShell_Site(e) {
  var radToolTip = $find('<%= shellRadToolTip.ClientID %>');
  radToolTip.set_text('This is the new tool tip text to display');
  radToolTip.show();
  //alert(radToolTip.get_targetControlID());
}

the tooltip will only show if I uncomment the alert, but it does so at the bottom of the RadWindow, and not anywhere near the control it should be associated with.
Xorcist
Top achievements
Rank 1
 answered on 02 May 2013
3 answers
124 views
I have the following XML: 
<SplitButton Size="Large" Text="Descriptive" ImageUrlLarge ="images/widgets_descriptive.png" CommandName="managedescriptive">
        <Button Text='ABC Codes' CommandName='descriptive' CommandArgument='1'/>
        <Button Text='Planning Data' CommandName='descriptive' CommandArgument='2'/>
      </SplitButton>

In my code-behind I have the following function

protected void dsxWebRibbon_SplitButton_Click(object sender, RibbonBarSplitButtonClickEventArgs args)
    {
        string commandname = args.Button.CommandName;
        string commanddata = args.Button.CommandArgument;
        switch (commandname)
        {
            case "opendc":
                Response.Redirect("dsxDashboard.aspx");
                break;
            default:
                dsxCommand.InnerHtml = "Invalid Command:" + commandname;
                break;
        }//end switch
    }

The issue I am having is that when the parent button is clicked...it is not getting the parents commandname....what would you do to get that value

Michael
Top achievements
Rank 1
 answered on 02 May 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?