Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
198 views
I attach an image.
There I have a TextBox Multiline with 2 buttons SAve or Cancel.

I need Fire the RadSpell when user Click On Save.
 Steps:
1- Click on Save
2- Automacially Fire RadSpell
3- Save on Data Base

How I can do this? It is posible?

July
Top achievements
Rank 2
 answered on 27 Dec 2011
3 answers
220 views

All,

I have an odd (I think) issue that I would really appreciate some help on. The nut of the issue is that I have a WCF 4.0 service posted in IIS (ASP.NET).

This WCF service needs to be accessible to protocols other than HTTP and is not in ASP.NET compatibility mode.

One of the components interfacing with this WCF service is in fact an ASP.NET site. On one of the pages there are the following controls:

- 2 timers
- RadTextBox
- div tag which in codebehind is being updated (html content)
- RadGrid
- RadAjaxManager (and all of its necessary components (i.e. loading panel))

1 of the timers is set to tick every 1 second, the other every 10 seconds.

During the 1 second timer tick, if the text has changed in the RadTextBox since the last postback, a call to the WCF service is made and the DIV tag is updated. This call returns immediately.

During the 10 second tick, if the text has changed in the RadTextBox since the last postback, a call to the WCF service is made and the RadGrid is updated. This call returns in ~8 seconds.

The code in the timers utilizes the async proxy generated methods for the WCF service and the callbacks handle the appropraite updating of the respective controls.

All of this is handled with RadAjaxManager (timer 1 updates div tag, timer 2 updates radgrid).

This solution works *except* that in the time during the timer 2 execution when a change is detected (~8 seconds), no further updates happen from the timer 1 code *until* after the callback initiated by the timer 2 code returns.

Essentially something is blocking somewhere. At first I thought it was a timer but then I repro'd the issue by invoking the grid population by a button click. I looked at the WCF service again and its ServiceBehaviors all appear to be set correctly to support proper async operations. About the only thing I haven't done is physically implement my own async methods in the WCF service to see if that resolves it.

Am I missing anything obvious here? Can two different async calls into the same WCF service not occur asynchronously?

Thanks for any and all help.

Jim

Marin
Telerik team
 answered on 27 Dec 2011
3 answers
138 views
i have successfully replace the default global navigation menu to rad menu on my SharePoint 2010 website, the problem am having is that it is displaying only one top menu and displaying others as a sub-menu of the first one, is there any thing i can do to make them display as top menus?

Please help.
Peter
Telerik team
 answered on 27 Dec 2011
2 answers
66 views
Hi everybody

I have a strange situation when using telerik provided script for persisting client selected rows. This is the code :

function uxRadGrid_RowSelected(sender, arg) {
 
    //add rowKey to selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (!selected[rowKey]) {
        selected[rowKey] = true;
    }
}
 
function uxRadGrid_RowDeselected(sender, arg) {
 
    //remove rowKey from selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (selected[rowKey]) {
        selected[rowKey] = null;
    }
 
}
 
function uxRadGrid_RowCreated(sender, arg) {
 
    //select row if in selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (selected[rowKey]) {
        arg.get_gridDataItem().set_selected(true);
    }
}
 
function uxRadGrid_Created(sender, arg) {
    //nothing here
}

    <telerik:RadGrid ID="uxRadGrid" Skin="Transparent" AutoGenerateColumns="false" ShowHeader="true" Width="100%"
    OnNeedDataSource="uxRadGrid_NeedDataSource" OnItemCreated="uxRadGrid_ItemCreated" OnItemDataBound="uxRadGrid_ItemDataBound"
    PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NumericPages" PagerStyle-Position="Bottom"
    AllowPaging="true" AllowMultiRowSelection="true" AllowSorting="true"
    runat="server">
        <MasterTableView ClientDataKeyNames="rowKey" TableLayout="Auto" GridLines="None">
            <Columns>
                <telerik:GridClientSelectColumn />
                <telerik:GridBoundColumn DataField="rowKey" HeaderText="Row Key" />
                <telerik:GridBoundColumn DataField="user_status" />
                <telerik:GridBoundColumn DataField="user_role" />
                <telerik:GridBoundColumn DataField="user_firstname" />
                <telerik:GridBoundColumn DataField="user_lastname" />
                <telerik:GridBoundColumn DataField="user_email" />
            </Columns>
 
            <SortExpressions>
                <telerik:GridSortExpression FieldName="rowKey" SortOrder="Ascending" />
            </SortExpressions>
        </MasterTableView>
 
        <ClientSettings>
            <ClientEvents OnRowCreated="uxRadGrid_RowCreated" OnRowDeselected="uxRadGrid_RowDeselected" OnRowSelected="uxRadGrid_RowSelected" OnGridCreated="uxRadGrid_Created" />
            <Selecting AllowRowSelect="true" />
        </ClientSettings>
    </telerik:RadGrid>

In my example, I use 3 data rows. The grid is ajaxified.

When I check 2 checkboxes in GridClientSelectColumn, and click on column header to sort items, everything works as expected but "check all" checkbox gets checked (even if only 2 of 3 items are selected) ! When I click on sort again, "check all" gets unchecked.

And when I select all 3 items, and sort, "check all" never gets checked after sorting. Same if I select only one item.

Am I missing something ?

Thanks
Milena
Telerik team
 answered on 27 Dec 2011
2 answers
440 views
Hi, I was wondering how you set the maximum number of selections a user can make when the ComboBox is set to checkboxes="True" ? 

Thanks in advance.
Ivana
Telerik team
 answered on 27 Dec 2011
2 answers
122 views
Hello, 

I have a problem with
treeview inside RadComboBox
and this combobox inside a formview...

i can't display the combobox...

 http://dl.free.fr/pg4cBEuKz here you can find a source code


thanks in advance.
Ivana
Telerik team
 answered on 27 Dec 2011
3 answers
591 views
Hi,

I just started using telerik few days ago
i would like to know what is telerik:GridButtonColumn attribute of Asp:button "OnClick"

what i want to do is let the user choose a meeting session in a grid list.
user will press the button and it will trigger OnClick funtion at the aspx.cs and also pass the ID of that meeting session /row.

using C#

hope you can help me in this.

thanks
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
4 answers
115 views
In my asp.net page I fired a Rad window and selected some items from grid view present in the Rad Window 
I stored that items in some string variables .
I know want that Rad window must return the value to original page ,the original page must not reload
any hint(conceptual) or code help please?
 
Svetlina Anati
Telerik team
 answered on 27 Dec 2011
3 answers
110 views
Please stop including Telerik Advertising (as undoubtedly seen below) in between forum thread posts. It makes it quite annoying to try and read the posts. If you must include advertising in Forum threads, create a sidebar so as to not interfere with the flow of posts.
Vassil Petev
Telerik team
 answered on 27 Dec 2011
5 answers
213 views
Hello,

I am using a RadAjax radrotator with control buttons images(left and right scroll) of my own, i have done so but i am facing problems regarding the state of buttons ie. enable and disable the control buttons when on last and first record accordingly,  and also facing screen resolution issues with the buttons as i have applied some css with the button though the buttons work fine but alignment of button is disturbed.  I am attaching some code snippets.  I would appreciate any help you could give on this.

Note-  I am using RadTagcloud control inside the radrotator and using left and right to monitor the tagclouds related to particular product.
Thanks,
Peeyush Pandey
                      <td style=" float: left;width: 0px;margin-left: -1px;">
                          <asp:Image ImageUrl="images/b2.png" ID="img_right" Visible="false" AlternateText="right" runat="server"
                              Style="cursor: hand; float: right; padding-left: 990px; margin-top:75px;" />
                          <asp:Image ImageUrl="images/b1.png" ID="img_left" Visible="false" AlternateText="left" runat="server"
                              Style="cursor: hand; float: left; margin-top:75px; margin-left:-25px;" />
 
                          <telerik:RadRotator ID="radRotatorCompanyTagCloud" runat="server" ScrollDuration="500"  WrapFrames="false" Width="990px"
                              Height="400px" RotatorType="Buttons" ItemHeight="350px">
                              <ControlButtons LeftButtonID="img_left" RightButtonID="img_right" />
</telerik:RadRotator>
Niko
Telerik team
 answered on 27 Dec 2011
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?