Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
634 views
I have a Page which has a HEADER section. Once information is filled up, I want to display a Grid control on the bottom half of a page.
How do I achieve this in ASP.NET AJAX.

The Grid Control contains Combo Boxes and Check Boxes.
Deep Ghosh
Top achievements
Rank 1
 answered on 07 Sep 2012
7 answers
1.8K+ views
How can I set the commandArgument for rows in the codebehind ?
Ive tried this, but I get an error

<telerik:GridButtonColumn CommandName="Select"  Text="Select" CommandArgument'<%# Eval ( "UserID" ) %>' 
                                            UniqueName="SelectButton">  
                                        </telerik:GridButtonColumn> 

'Error Creting Control'
 Databinding Expressions are only supported on objects that have a databinding event.

I need to gain access to the underlying datakey so that when a user selects a row I have some code that select data from a database using the datakey as the primary key into the table.  In a standard .net grid Id do this and it works

protected void GridViewArtistName_RowCommand(object sender, GridViewCommandEventArgs e)  
        {  
            if (e.CommandName == "Select")  
            {  
 
                Guid guid = new Guid(e.CommandArgument.ToString());  
                Session.Add("USERID", e.CommandArgument.ToString());  
 
                if (UserIDChange != null)  
                {  
                    // Call the Event  
                    UserIDEventArgs E = new UserIDEventArgs(guid);  
                    OnUserId(E);  
                }  
            }  
        } 
 How can I achieve the same functionality with a telerik grid ?
Suraj Shrestha
Top achievements
Rank 1
 answered on 07 Sep 2012
3 answers
101 views
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText=""
  ConfirmTitle="" ConfirmDialogType="RadWindow" UniqueName="delete_notification" 
    ImageUrl="Images/DeleteRedResized.png" ShowSortIcon="false" SortExpression="">
   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
      <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
        </telerik:GridButtonColumn>

I have a grid button column in my grid. I have delete button in this. My Image for the delete button is not displayed for some reason. cant figure put why. i have set enable theamiing to false.

I am attaching the screenshot.

thankyou
Jayesh Goyani
Top achievements
Rank 2
 answered on 07 Sep 2012
0 answers
226 views
HI, I'm using your radwindowmanager, and it throws this error, radopen is not defined,

I;ve tried everything the code is really simple so why I have this error?

I'm sending you the aspx file to see what I'm doing is really really simple. weird thing I have a very similar code on a running application and it works fine,

thanks
Rapitoloco
Top achievements
Rank 1
 asked on 07 Sep 2012
0 answers
112 views
Hi,

I have a RadAsyncUpload in a Jquery dialog.

When I click on the control no action is performed in Chrome and Firefox but it is working in IE.

I have added the below code snippet and tried but no success.

        Telerik.Web.UI.RadAsyncUpload.prototype._updateFormProperties = function (form)
    {
        if (form)
        {
            form.enctype = form.encoding = "multipart/form-data";
        }
    }

Is there a workaround for this?

Thanks,
Srini


Sri
Top achievements
Rank 1
 asked on 07 Sep 2012
3 answers
254 views
Hi

Can anyone tell me if it is possible to save the org chart to a PDF document?

Cheers
Cliff
Peter Filipov
Telerik team
 answered on 07 Sep 2012
2 answers
59 views
Hi all,

The WPF Rad TreeView has a property called 'IsSingleExpandPath' to force a treeview to only open one path at a time. If you open a node on a new path, all the other nodes that are on a different path will be closed.
Is there a similar feature for the ASP TreeView without doing messy things in javascript?

Erik
Erik
Top achievements
Rank 2
 answered on 07 Sep 2012
3 answers
240 views
Hi,
I found rad window manager "Alert, Prompt, Confirm" windows are very useful.
I read the below features of rad window manager : 
Here are the main RadWindowManager's dialogs advantages:
  • Full customization of the window look to blend into the design of the site, thus increasing usability.
  • Control the initial size of the popup by providing width and height as extra parameters.
  • Richer user experience by using HTML content for the dialogs.

I wonder how I can customize the radalert content for example. 

I want the OK button be at the center of the window and I want to change the background and the text color and so on.

kindly help me to do that and suggest any useful articles.

regards,
Mohammed
Top achievements
Rank 2
 answered on 07 Sep 2012
4 answers
197 views
Dear Team,

I've a custom validator that showing a rad alert using window manager.
the problem is the custom validator is fired twice some times so it make two rad alert.
how can i detect if the rad window is already opened or closed ? 

when i use rad window i can do that by using this method isClosed()

regards,
Mohammed
Top achievements
Rank 2
 answered on 07 Sep 2012
4 answers
57 views

Hello
I am new to telerik controls and new to the company I am working for. I have asked to fix some telerik control updates

  1. First one is tooltip is needed to be clicked twice to open for the first time
  2. and the second one is It always points to the previously selected row.

I am attaching the pics to be more clear

On .aspx
  
 <telerik:RadToolTip runat="server" ID="plRadToolTip" Skin="AlSkin" EnableEmbeddedSkins="false" EnableShadow="false"
        Position="MiddleLeft" ShowEvent="OnClick" HideEvent="ManualClose" RelativeTo="Element">
        <div id="divPLToolTipDiv1" runat="server">
            <div class="plToolTipDiv2">
                <div class="plToolTipTitleDiv" id="divPLToolTipTitle">
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipSearchKB">
                    <a id="aPLToolTipSearchKB" runat="server"><span id="spnPLToolTipSearchKBText" runat="server">
                    </span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDocumentation">
                    <a id="aPLToolTipDocumentation" runat="server"><span id="spnPLToolTipDocumentationText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipAddIncident">
                    <a id="aPLToolTipAddIncident" runat="server"><span id="spnPLToolTipAddAnIncidentText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDownloadPatches">
                    <a id="aPLToolTipDownloadPatches" runat="server"><span id="spnPLToolTipDownloadPatchesText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLine">
                    <a id="aPLToolTipUpdateMyProductLine" runat="server"><span id="spnPLToolTipUpdateMyProductLineText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLines">
                    <a id="aPLToolTipUpdateMyProductLines" runat="server"><span id="spnPLToolTipUpdateMyProductLinesText"
                        runat="server"></span></a>
                </div>
            </div>
        </div>
    </telerik:RadToolTip>
Javascipt used
  
 function ShowProductLineToolTip(target_id, title, product_line_id, category_id, doc_page_to_show, show_kb, show_doc, show_ai, show_dlp, show_umpl, show_umpls) {
      var toolTip = $find("plRadToolTip");
I really appreciate any kind of help.. I am totally lost here.

Thanks
Newbie
Top achievements
Rank 1
 answered on 07 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?