Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
51 views
Is it possible to email current row data ?
Eyup
Telerik team
 answered on 16 Sep 2013
3 answers
251 views
Hello,

We are using RadGrid with batch Edit functionality. We have created javascript functions for textbox validation like allowing only numbers, only letters, only numbers and letters,.., the javascript functions are working fine.

The problem is to check textbox empty or not. We applied Requiredfieldvalidator for EditItemTemplate, it is not working fine.

We tried with Javascript but not getting how to set focus in textbox, if the textbox is empty.

ASPX:
-------
<telerik:GridTemplateColumn DataField="Product_Name" GroupByExpression="Product_Name Group by Product_Name"
                    UniqueName="Product_Name" InitializeTemplatesFirst="false" HeaderStyle-Width="20%"
                    HeaderText="Product Name" HeaderStyle-Font-Size="13px">
                    <HeaderTemplate>
                        <table>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkSortProduct_Name" runat="server" CommandArgument="Product_Name"
                                        CommandName="Sort" Text="Product Name"></asp:LinkButton>
                                </td>
                                <td>
                                    <img src="Images/Context_new_menu.jpg" style="margin-top: 5px; margin-left: 5px;
                                        cursor: pointer" onclick='ShowColumnHeaderMenu(event,"Product_Name")' alt="Show context menu" />
                                </td>
                            </tr>
                        </table>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblProductName" runat="server" Text='<%#Eval("Product_Name") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <EditItemTemplate>
                        <asp:TextBox ID="txtProductName" runat="server" Text='<%Eval("Product_Name") %>' Width="95px"
                            MaxLength="10" onblur="return Validate();" OnTextChanged="txtTaxYear_TextChanged" ToolTip="Enter Product Name"></asp:TextBox>
                            <span id="spntxtProductName" style="color:Red; visibility:hidden">*Required</span>                        
                    
                </telerik:GridTemplateColumn>

Javascript:-
--------------
function Validate()
{
        var grid = $find("<%=grdTaxYears.ClientID %>");
        var MasterTable = grid.get_masterTableView();
        var row = MasterTable.get_dataItems();
        var columns = grid.get_masterTableView().get_columns();
        
        var ProductName = MasterTable.get_dataItems()[0].findElement('txtProductName');
        var spntxtTaxYear = document.getElementById('spntxtTaxYear');

        if ((ProductName .value == '') || (ProductName .value == null))
        {
            spntxtProductName.style.display = true;
            return false;
           }
          }

Please resolve this issue.

Thanks in Advance,
Sanath Rohilla.
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Sep 2013
1 answer
80 views
Hi,

We are using a Tadtreeview with checkboxes (html5 rendermode)

 <telerik:RadTreeView ID="_templateStructure" runat="server" CheckBoxes="True" OnNodeCheck="_templateStructure_NodeCheck"></telerik:RadTreeView>


On chrome mobile when unchecking a node, the NodeCheck does not execute. Is there a way to make it execute?

ps: We also tried to change the render modes just in case but o no avail.
Peter Filipov
Telerik team
 answered on 16 Sep 2013
3 answers
151 views
Hi,

AreaSeries has a weird behavior when I set high YAxis AxisCrossingValue. In my case I set YAxis AxisCrossingValue=-2000000 to show XAxis DataLabels at the bottom. It seems AreaSeries takes AxisCrossingValue as base to construct the area, so chart becomes weired. Please refer to attached image for clarification.

First chart has the default values, DataLabels are just below 0 and area is constructed as expected.
Second chart has DataLabels at the bottom (which is I need to do) with setting YAxis AxisCrossingValue=-2000000 property. But area becomes weird, because it is constructed based on AxisCrossingValue not 0 (zero).
Last chart is what I would like to achieve.

Any help on this problem would be greatly appreciated.
Danail Vasilev
Telerik team
 answered on 16 Sep 2013
3 answers
163 views
Dear telerik-Team

first off all you make a brilliant job!

I use the HtmlChart and try to format the chart using percent for height and width. After render the chart it is shown in the right dimensions but if I resize the browser window (smaller/bigger) the chart doesn't scale with the browser window size. 

Isn't possible or something wrong?

Kind regards,
Chrisitan

Christian
Top achievements
Rank 1
 answered on 16 Sep 2013
1 answer
92 views
On an aspx page of mine, I followed the RadDatePicker example as seen here:

http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

But, it simply does not work. The symptom is as described below:

No calendar is displayed after clicking on the calendar icon, all it does is simply roll the page to the very top.

My script manager and ajaxmanager are declared in my master page like this:

<asp:ScriptManager ID="ScriptManger1" runat="server"></asp:ScriptManager>
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1"></telerik:RadAjaxManager>

And I have declared the ajax settings in my aspx page exactly as the demo at http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

What might be causing this problem? 
Kostadin
Telerik team
 answered on 16 Sep 2013
1 answer
157 views
Hi,

I'm wondering if there is a way to build custom skins but also give the user a way to pick built in skins.  For example, I may want to set up a new skin called CustomSkin1 and then give the user a preference screen to select the look they want.  I would allow them to select CustomSkin1 but also Metro, Vista etc...

Once selected can I globally change my EnableEmbeddedSkins property on the telerik controls via a master page or something like that or does this setting have to be set on ever control?  I found ways to do this via web.config but that will not work since I basically need to do it per user.

Thanks
Ivan Zhekov
Telerik team
 answered on 16 Sep 2013
1 answer
148 views
Hi,
Grid having PDF Export with multiple language. When we export with English, Everything will be okay. But When we export PDF with German language, Column Header text is going out its size. Can you please suggest me what I can do to resolve it. I have attached the snapshot for your reference. I am using Telerik 2011 version. 

Thanks in advance.
Kostadin
Telerik team
 answered on 16 Sep 2013
25 answers
288 views
Hello,

I noticed that you have a product line for SharePoint 2010. However components included are RadEditors and web parts.

If I wanted to use a bunch of RadControls on SharePoint pages on a web part (rather than using a dedicated web part provided by Telerik), the steps on installation the same as SharePoint 2007? I see how to do that documented for SharePoint 2007, but all of the documentation for SharePoint 2010 are about RadEditor and webparts.

Thanks in advance,
Makoto
Plamen
Telerik team
 answered on 16 Sep 2013
3 answers
257 views
In our current setup we are trying to provide accessibility to the grid for blind users. Whatever is on the screen, when the mouse is moved to the controls on the screen, the tool tip or the alt text is read out to the user. Although the tooltip for buttons in the pager are available and can be customized , there is no tooltip option for the page numbers. Because of this when we hover over the page number something like this is always shown in the status bar. javascript:__dopostback('... control value'). I would like to replace the status message on the page number links with meaningful Text that can be displayed in status bar or using a tool tip from code behind. Let me know if this is possible.
Vasil
Telerik team
 answered on 16 Sep 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?