Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
759 views
I am wondering if there is a way to turn off the transparency on the rad windows.  It seems that all skins in prometheus version are semi transparent is there a way to make then non-transparent?
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
1 answer
39 views
I using grid template column RadNumericTextBox when i enter the Amount in textbox automatically add total  sample code in client side and serverside
Radoslav
Telerik team
 answered on 11 Mar 2014
1 answer
184 views
Hi,
I'd like to create a toogle checkbox Filter for RadGrid this would hide/show rows based on one column contents  = Achieved or not.
how would i go about doing this with a RadGrid ?  
Princy
Top achievements
Rank 2
 answered on 11 Mar 2014
1 answer
95 views
I have a radtextbox whose width is 200px and a radbutton ,and an radwindow popup opens on that button but at that time the text in radtextbox hides , i dont want this to happen




Here are the 2 screenshots before and after button click 
Viktor Tachev
Telerik team
 answered on 11 Mar 2014
3 answers
332 views
Hi,

I was the ToolTip Manager and trying to get the ID from the link button through the command argument but am having difficulty with it.

Below is my code.

----Tool Tip--------

<

 

 

telerik:RadToolTipManager ID="ttManager" runat="server" HideEvent="ManualClose" Width="250" Height="250" EnableShadow="true" OnAjaxUpdate="ttManager_AjaxUpdate" RelativeTo="Element">

 

</telerik:RadToolTipManager>

------Grid Link Btn-----

 

</telerik:GridTemplateColumn>

 

Chad-

<telerik:GridTemplateColumn HeaderText="NOTES" UniqueName="NoteID">

 

<ItemTemplate>

 

<asp:LinkButton ID="lnkNote" runat="server" CommandArgument='<%#Bind("intRSPID")%>' CommandName="Notes">Notes</asp:LinkButton>

 

</ItemTemplate>

 

</telerik:GridTemplateColumn>

 

<telerik:GridBoundColumn DataField="strRSPSiteLocation" HeaderText="RSP SITE" />

 

<

telerik

:

GridBoundColumn

DataField

="strUIC"

HeaderText

="UIC"

/>

------Code Behind--------

 

 

Protected Sub ttManager_AjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs)

 

Me.UpdateToolTip(args.Value, args.UpdatePanel)

 

End Sub

 

Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)

 

Dim ctrl As Control = Page.LoadControl("~/Notes.ascx")

panel.ContentTemplateContainer.Controls.Add(ctrl)

 

'Dim details As ProductDetails = DirectCast(ctrl, ProductDetails)

panel.ContentTemplateContainer.Controls.Add(ctrl)

 

End Sub

 

Protected Sub myRadGrid_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles myRadGrid.ItemDataBound

 

If e.Item.ItemType = GridItemType.Item OrElse e.Item.ItemType = GridItemType.AlternatingItem Then

 

Dim RSPID As Integer = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("intRSPID")

 

Dim target As Control = e.Item.FindControl("lnkNote")

Session(

 

"NotesID") = RSPID

 

Dim ctrl As Control = Page.LoadControl("~/Notes.ascx")

ctrl.ID = target.ID

 

If Not [Object].Equals(target, Nothing) Then

 

If Not [Object].Equals(Me.ttManager, Nothing) Then

 

'Add the button (target) id to the tooltip manager

 

Me.ttManager.TargetControls.Add(target.ClientID, (TryCast(e.Item, GridDataItem)).GetDataKeyValue("intRSPID").ToString(), True)

 

End If

 

End If

 

End If

 

End Sub

 

Thanks


Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
7 answers
553 views
1. i have one radtextbox and radbutton. i want to make this radbutton visible when people start typing. if there is no values in the radtextbox radbutton should be hidden. so when started entering the letters radbutton should be visible and when they delete or backspace completely then radbutton should be hidden?
i tried so many ways to achieve this task from client side.

what is the java script code for this one. it should support all browsers. i tried onkeypress. but didnt get the result i want.


2. i want when user remove selected files from radasyncupload then radbutton should be hidden. when they start selecting files to upload then radbutton should b visible.
 when i selected removeselectedfiles option, button become hidden immedieately remove just one file itself. hwo to check the number of files selected in radasyncupload from client side ?

3. is there any textboxlist control in telerik for email text field? i want like to see as iphone, facebook and all. how to do that?


Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
1 answer
75 views
Team,

I am having one major issue i radgrid.

In grid i m selecting 2 rows and now filter with some values then i am select 3 rows. Now i need to click  on add button which is outside of grid. But in result grid only 3 rows will be added. Expected result grid should be  add all selected rows i.e. 5 rows.


Please help urgent.
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
4 answers
316 views
I've already looked at:
http://www.telerik.com/help/aspnet-ajax/grid-appearance-customize-gridtemplatecolumn.html

Which used a template for the header and data sections.  To my eyes its a really crude solution, and doesn't look very good.

Is there a better way to do this that reflects a polished product?

Thanks
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
3 answers
168 views
I have this aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="SPAC.Web.Paginas.test" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btn">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="lbl" UpdatePanelCssClass="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    <div>
        <telerik:RadAjaxPanel runat="server" HorizontalAlign="NotSet" ID="pnl">
            <asp:Button runat="server" Text="test" ID="btn" OnClick="btn_OnClick"/>
            <asp:Label runat="server" Text="test" ID="lbl"></asp:Label>
        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>
 And my code behind is like:
protected void btn_OnClick(object sender, EventArgs e)
        {
            lbl.Text = "nada";
        }

When I click on the button, the label "lbl" disappears (it should change the text of the label). Should I use two panels? or how can I ajaxify the asp controls?

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 11 Mar 2014
0 answers
155 views
Hopefully this is a simple issue/rookie mistake. We have a RadGrid where our header row is not showing at all. I don't know why, but it appears that the css class "rgHeader" is not attached to the th. Any thoughts on how to fix this or where to even start troubleshooting? We have this code working as part of a larger project on other machines (where the header correctly gets the rgheader class). We can't rule out that it's a machine issue or that something is missing that was included in the larger project. Image of missing header row attached (note we purposefully loaded two empty rows of data, so we know all the data is loading correctly) as well as grid definition and rendered html.

Grid:
<telerik:RadGrid ID="AXXRadGrid" runat="server" GridLines="None" AllowAutomaticUpdates="True"
                OnItemCommand="AXXRadGrid_ItemCommand" OnItemDataBound="AXXRadGrid_ItemDataBound"
                AutoGenerateColumns="false" OnSortCommand="AXXRadGrid_SortCommand" AllowMultiRowSelection="true"
                OnItemCreated="AXXRadGrid_ItemCreated" DataSourceID="RequestMasterDataSource"
                OnHTMLExporting="AXXRadGrid_HTMLExporting" OnExportCellFormatting="AXXRadGrid_ExcelExportCellFormatting">
                <ExportSettings HideStructureColumns="true" />
                <MasterTableView TableLayout="Auto" RetrieveDataTypeFromFirstItem="true" CommandItemDisplay="Top">
                    <CommandItemSettings ShowExportToExcelButton="false" ShowAddNewRecordButton="false"
                        ShowRefreshButton="false" />
                </MasterTableView>
                <ClientSettings>
                    <Selecting AllowRowSelect="True"></Selecting>
                    <Scrolling AllowScroll="false"></Scrolling>
                    <Resizing ResizeGridOnColumnResize="True" AllowRowResize="True" AllowColumnResize="True" />
                    <ClientMessages DragToGroupOrReorder="Drag to group" />
                </ClientSettings>
                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                </HeaderContextMenu>
            </telerik:RadGrid>


Rendering:
<table class="rgMasterTable" border="0" id="ctl00_m_g_b8cf9c0d_003b_4572_a197_c425836f7d6f_ctl00_AXXRadGrid_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">
    <colgroup>
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
        <col style="width:60px">
    </colgroup>
<thead>
        <tr style="background-color:#EF5D63;display:none;">
            <th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl00','')">SR Number</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl01','')">Client Name</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl02','')">Column 1</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl03','')">Column 2</a> <input type="button" name="ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl04" value=" " onclick="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl04','')"></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl05','')">Column 3</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl06','')">Column 4</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl07','')">Column 5</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl08','')">Column 6</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl09','')">Column 7</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl10','')">Column 8</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl11','')">Column 9</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl12','')">Column 10</a></th><th scope="col"><a title="Click here to sort" href="javascript:__doPostBack('ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl02$ctl02$ctl13','')">Column 11</a></th>
        </tr>
    </thead><tfoot>
        <tr class=" rgPager">
            <td colspan="13"><table summary="Data pager which controls on which page is the RadGrid control." border="0" style="width:100%;border-spacing:0;">
                <caption>
                    <span style="display: none">Data pager</span>
                </caption><thead>
                    <tr>
                        <th scope="col"></th>
                    </tr>
                </thead><tbody>
                    <tr>
                        <td class="rgPagerCell NextPrev"><div class="rgWrap rgArrPart1">
                            Change page: <input type="button" name="ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl02" value=" " onclick="return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl02", "", true, "", "", false, true))" title="First Page" class="rgPageFirst"> <input type="button" name="ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl03" value=" " onclick="return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl03", "", true, "", "", false, true))" title="Previous Page" class="rgPagePrev"><input type="button" name="ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl04" value=" " onclick="return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl04", "", true, "", "", false, true))" title="Next Page" class="rgPageNext">  <input type="button" name="ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl05" value=" " onclick="return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_b8cf9c0d_003b_4572_a197_c425836f7d6f$ctl00$AXXRadGrid$ctl00$ctl03$ctl01$ctl05", "", true, "", "", false, true))" title="Last Page" class="rgPageLast">
                        </div><div class="rgWrap rgInfoPart">
                              Page <strong>1</strong> of <strong>1</strong>, items <strong>0</strong> to <strong>0</strong> of <strong>0</strong>.
                        </div></td>
                    </tr>
                </tbody>
            </table></td>
        </tr>
    </tfoot><tbody>
    <tr class="rgNoRecords">
        <td colspan="13" style="text-align:left;"><div>No records to display.</div></td>
    </tr>
    </tbody>
 
</table>

Katie
Top achievements
Rank 1
 asked on 10 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?