Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
299 views
Hi,

Can you tell me how to hide or remove the border from rad window? Please see attached file it includes an image of the window which has a grey border that I'm trying to remove. The code below is the latest I've tried.
.RadWindow.rwNoTitleBar .rwShadow .rwTitlebar, .RadWindow.rwNoTitleBar .rwShadow .rwTopLeft, .RadWindow.rwNoTitleBar .rwShadow .rwTopRight {
  height: 13px !important;
}

Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
0 answers
48 views
Hi,
I am facing an issue with RadMenu when I clicks on any sub menu its working fine but
if my mouse go again to some submenu the previous request dies
means I did not get any response.
My menus are simple links to some pages. The menu structure is something like -

Menu1   Menu2   Menu3   Menu4 
SM1->SM11 SM3
SM12
SM2->SM21
SM22
 
when I click on SM11 it redirects me to page SM11.aspx and so on.
Now i after clicking on SM11, I move my mouse on some other submenu like SM2
then this ends my request, and I remains at the same page
I am using Telerik.Web.UI 2010.1.415.20, and IE 8.0.600118702

Thanks
Pankaj Upadhyay
Pankaj
Top achievements
Rank 1
 asked on 27 Dec 2011
0 answers
53 views
Hi,

I am trying to pass (DayRenderEventArgs) e to a newly created EventHandler. After searching on Google I found out that I could use "delegate" (?) to accomplish this, I couldn't find a proper example though...

Please see the next code:

protected void trcCalendarID_OnDayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
{
    foreach (Control control in trcCalendarID.Controls)
    {
        Button btnPlannen = (Button)control.FindControl("btnPlannenID");
        if (btnPlannen != null)
        {
            //btnPlannen.Click += new EventHandler(btnPlannen_Click); //Pass 'e' as argument/parameter here
        }
    }
}
ConsumentenClaim
Top achievements
Rank 1
 asked on 27 Dec 2011
12 answers
156 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
180 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
106 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
50 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
411 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
99 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
539 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?