Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
60 views
are there any project that contains advanced form and service?
thanks
Plamen
Telerik team
 answered on 06 Aug 2012
2 answers
106 views
Hi

I am using RadGrid with client side binding.  I have 2 issue acording to default sortexpressions.

1. I have defined the sortexpressions to sort default by Date. When user clicks other column it is sort by the new column but the arrow near Date column is not hidding. I need to click several times to the Date column to hide the arrow, then everything works great.

2. The sortexpression gives the column the rgSort class and it changes the color of the column, but when I click to another column the color is not changing to new column. If I dont have defined sortexpressions the color change wont appear at all.

Thanks

Vitalij
Vitalij
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
93 views
Hello,
I have some custom commands that are working fine, and I am able to pass client data to the code-behind using the commandArgument. However, if I try to do the same thing for the built in AddText functionality, the popup dialog never displays.

//Javascript
//If this is done, the text editor dialog won't show. Not sure why.
Telerik.Web.UI.ImageEditor.CommandList.AddText = function (imageEditor, commandName, args) {
    var commandText = "AddText";
    var commandArgument = customClientSideDataHere;
    imageEditor.editImageOnServer(commandName, commandText, commandArgument, callbackFunction);
};

I am currently reading the custom data here:
protected void RadImageEditor1_ImageEditing(object sender, ImageEditorEditingEventArgs args)
{
 string text = args.Argument;
}

If I comment out the client-side code above, the Add Text popup works as expected. Is there something I am doing wrong, or is there another way to pass client side data to the code-behind?
Thanks,
Adrian
Vessy
Telerik team
 answered on 06 Aug 2012
2 answers
135 views
How do I get RadFilter to work with RadTreeList and an OpenAccess DataSource?

...this seems to do nothing

<telerik:RadFilter runat="server" FilterContainerID="locationTreeList"
    ID="ctl00" CssClass="RadFilter RadFilter_Default " Skin="Transparent">
    <FieldEditors>
        <telerik:RadFilterTextFieldEditor TextBoxWidth="120" FieldName="LocationName" />
    </FieldEditors>
</telerik:RadFilter>
<telerik:RadTreeList ID="locationTreeList" runat="server" AllowPaging="false" AutoGenerateColumns="false"
    DataSourceID="locationDS" AllowSorting="True" DataKeyNames="LocationID"
    ParentDataKeyNames="ParentID">
    <Columns>
        <telerik:TreeListBoundColumn DataField="LocationID" HeaderText="Location ID" />
        <telerik:TreeListBoundColumn DataField="LocationName" HeaderText="Name" />
        <telerik:TreeListBoundColumn DataField="ShortCode" HeaderText="Short Code" />
        <telerik:TreeListCheckBoxColumn DataField="IsTest" HeaderText="Test Location" />
        <telerik:TreeListBoundColumn DataField="AddressID" HeaderText="Address ID" />
    </Columns>
</telerik:RadTreeList>
<telerik:OpenAccessDataSource ID="locationDS" runat="server"
    EnableDelete="False" ObjectContextProvider="AuthDB.Model.Context, AuthDB"
    OrderBy="LocationName, ParentLocation.LocationName"
    TypeName="AuthDB.Model.CommonLocation" />
Priyanka
Top achievements
Rank 1
 answered on 06 Aug 2012
3 answers
69 views
I've implemented your TabStrip control with 3 tabs in one of my web pages.  Most of the time it works fine but once in a while only the first tab will appear.  Pressing F5 (Refresh) corrects the problem.  However, if this is going to occur on a regular basis then my client is surely going to complain.

I'm wondering if this is a known phenomenon / bug and, if so, whether Telerik is planning on addressing it?

Robert

P.S. In case it matters, I'm running my web app directly from VS2008.  The browser is IE8 - this is the corporate default for the [large] client and thus the one & only browser platform on which my app must run.
Kate
Telerik team
 answered on 06 Aug 2012
1 answer
98 views
Hi,
We have an ascx page, there we are using telerik radlistview with datapager (telerik version 2012). In my control 'onint' i m getting datapager page size and assigning that datapager page size in that 'Layout Created' event. But at the time of page load, 'RadListview Layout Created' event firing first instead of the control's (ascx) 'oninit'. So i m not able to assign the page size for the datapager. But when telerik (2010) is used, control's 'oninit' is triggered first.  Please let me know what should i do to have my control's 'oninit' triggered first when using telerik (2012).  Any help will be appreciated. Thanks in advance.

Regards,
Subbu
Maria Ilieva
Telerik team
 answered on 06 Aug 2012
3 answers
148 views
How to insert data into temporary datatable and display it in a grid client-side while clicking a button

My scenario is :

1) A combo with Productname as text,productid as value
2) A textbox for displaying Qty.
3) A button (ADD)

After selecting the products from the combo, and entering the Qty , When the user clicks the ADD button, the data has to be updated on the temp datatable on clientside. And need to display that data in grid. How can I achieve this. Pls provide me a sample code as I'm new to telerik and script

Tsvetoslav
Telerik team
 answered on 06 Aug 2012
3 answers
364 views
Hi,

I have "save" button outside of radgid.

I am adding textbox in radgrid template column on ItemDatabound event.

I want to read textbox value when i will click on "save" button

Please guid how to do access this.
Eyup
Telerik team
 answered on 06 Aug 2012
1 answer
197 views
Hi,
I am using this below  javascript function
but the problem is
how can i get client id withot using,  $find('<%= RadTabStrip1.ClientID%>');

<telerik:RadCodeBlock runat="server" ID="RadCodeBlock1">
<script type="text/javascript">
function UnSelectMyTab(sender, eventArgs)
            {
                
                var tabStrip = $find('<%= RadTabStrip1.ClientID%>');
                if (!tabStrip) return;
                //Find the element which the mouse is over
                var destElement = eventArgs.get_domEvent().eventMapRelatedTarget;
                if ($telerik.isDescendant(tabStrip.get_element(), destElement))
                    return;
                var initialTab = eventArgs.get_tab();
                initialTab.unselect();
                initialTab.selectParents();
            }
     </script>
</telerik:RadCodeBlock>

Can anyone let me know how to do this?

Thanks,
Maruthi
Kalina
Telerik team
 answered on 06 Aug 2012
2 answers
108 views
So I have a items that I need fill into the combo box without having to bind the combo to a table in the database. How do I do that?

Nencho
Telerik team
 answered on 06 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?