Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views
Hi,
In my aspx page , I have  a Rad window.

1.I have a radWindow that opens as a popup window.
2. This popup radWindow has a close button in title bar.
3. Even though  OnClientClose="onClientClose" is set,when the user closes this window using titlebar's close button,the onClientClose is not getting fired.

Please advise how to fix this issue.

Thanks in advance

 

 

 

 

Marin Bratanov
Telerik team
 answered on 22 Aug 2011
5 answers
479 views
Dears,

I have the following js function that handles grid's onRowClick event
function rowClicked(sender, eventArgs)
{
selID=eventArgs.getDataKeyValue("ID");
alert('selected id is : ' + ID);
 
}

However, I need to get the cell/column name where the user clicked, because I want to perform other javascript functions upon user clicking on specific cells in the grid.
I tried the event OnColumnClick of the grid, but it fires only on grid header's click.

Thank you.
Princy
Top achievements
Rank 2
 answered on 22 Aug 2011
0 answers
53 views
Im Implement RadrCombo Box To Enable Search But Random On

RadrCombo _ItemsRequested  e.Text Returns %D8%AD%D8%B3%D8%A7%
So the DataView.RowFelter  throw  Execption 
 the string pattern '%D8%AD%D8%B3%D8%A7%' is invalid.
Plz Any One Can Help Me How to Solve This Problem

Sayed
Top achievements
Rank 1
 asked on 22 Aug 2011
1 answer
111 views
My windows are all clipped at the bottom.  Telerik version v.2011.1.413.40 and Visual Studio 2010.  I am using radopen in javascript to open.  See attached document for screen shot.

master page:

        <telerik:RadWindowManager
            ID="radWM"
            ReloadOnShow="true"
            runat="server"
            OnClientPageLoad="OnClientPageLoad"
            ShowContentDuringLoad="true"
            Skin="Sunset">
            <Windows>
                <telerik:RadWindow
     runat="server"
                    ID="radWindow"
                    Width="600px"
                    Height="400px"
                    Behaviors="Close">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>

javascript:

    var currentTime = new Date()
    var time = currentTime.getTime();
    Window = radopen(__prefixURL + 'Pages/Map/popMap.aspx?Mode=PP', "radWindow" + time);
    Window.setSize(900, 500);
    Window.moveTo(100, $(window).scrollTop() + 100);
    Window.set_title(arg.Title);
Shinu
Top achievements
Rank 2
 answered on 22 Aug 2011
3 answers
234 views
Hey,
I'm using your readmenu control and I'm using vista skin, but I want to change the back color of the menu and keep the glassy effect of vista skin how can I do that?
I've tried this property, but it didn't work !
BackColor
Kate
Telerik team
 answered on 22 Aug 2011
2 answers
143 views

Hi All,
I am using radopen() method as below to open my page MyPage.aspx, it is working fine with Firefox 6 but not properly rendering on IE(7,8,9).
Don't know what the reason.
Please help to resolve this issue.

function openWin()
{

var oWnd = radopen("MyPage.aspx", "RadWindow1");

}

For reference I am attaching the Image files of Firefox and IE9.
[I have used RadWindowManager().Open in place of radopen() but still I am getting the same issue.]
Abhinav
Top achievements
Rank 1
 answered on 22 Aug 2011
7 answers
181 views
Hi,

Appointment section (Gray Box) is not completely displayed, what is the solution?
PFA the red marked area in the attachment.

Thanks,
Navya
Peter
Telerik team
 answered on 22 Aug 2011
1 answer
99 views
Hello, i want to create 1 field more (combobox) in the window "create new directory"of fileExplorer.

Now i have only 1 field (name of directory) but i need to add a new field (combobox with 2 option private/public).

Which is the code (javascript and code behind) to add  this in my application?
Thanks.
Juan.
Dobromir
Telerik team
 answered on 22 Aug 2011
1 answer
68 views
I have a customized AdvancedEditTemplate with custom fields built directly into the template.  However, I would like to implement the 'alldayevent' checkbox.  With the below code, is it possible to implement the 'alldayevent' checkbox?
<div class="qsfexAdvEditControlWrapper">
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# Bind("Subject") %>' 
        Skin="Office2007" BorderStyle="Solid" Width="95%" Label="Subject:">
    </telerik:RadTextBox><br /><br />
    <asp:Label ID="Label2" AssociatedControlID="RadDateTimePicker3" runat="server">Start time:</asp:Label>
    <telerik:RadDateTimePicker ID="RadDateTimePicker3" runat="server" SelectedDate='<%# Bind("Start") %>' Skin="Office2007"
        EnableTyping="false" TimeView-Interval="00:15:00" TimeView-Height="300px" TimeView-Columns="4">
    </telerik:RadDateTimePicker>   
    <asp:Label ID="Label3" AssociatedControlID="RadDateTimePicker4" runat="server">End time:</asp:Label>
    <telerik:RadDateTimePicker ID="RadDateTimePicker4" runat="server" SelectedDate='<%# Bind("End") %>' Skin="Office2007"
        EnableTyping="false" TimeView-Interval="00:15:00" TimeView-Height="300px" TimeView-Columns="4">
    </telerik:RadDateTimePicker>
    <telerik:RadSchedulerRecurrenceEditor ID="RecurrenceEditor1" runat="server"/>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Width="250px" Height="750px" ></telerik:RadWindowManager>
    <br /><br />
    <telerik:RadTextBox ID="RadTextBox2" runat="server" Text='<%# Bind("Description") %>'
        Skin="Office2007" BorderStyle="Solid" Width="95%" Columns="20" Rows="5" TextMode="MultiLine" Label="Description:">
    </telerik:RadTextBox><br /><br />
    <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("intGroupID") %>' Visible="false" Width="0" Height="0" />
    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ID") %>' Visible="false" Width="0" Height="0" />
    <asp:TextBox ID="txtUsersListEd" Text='<%# Bind("Users") %>' runat="server" Visible="false" Width="0" Height="0" />
</div>
Plamen
Telerik team
 answered on 22 Aug 2011
1 answer
170 views
Hi there,

I have an issue with selecting an item within a RadComboBox using the client-side method findItemByValue.

The RadComboBox is contained within the ContentTemplate of a RadWindow (in a RadWindowManager), and contains a list of guid / text items, i.e. all content and controls are located in one page.

When the user clicks a "Select Page" RadButton, the window is displayed and what I am trying to get is the currently selected item for the control to be selected when the window opens.

My client-side code is as follows:

function OpenPageSelectWindow(idControl, textControl, id) {
    document.getElementById('<%= uxPageSelectorIDControl.ClientID %>').value = idControl;
    document.getElementById('<%= uxPageSelectorTextControl.ClientID %>').value = textControl;
    var rwManager = $find("<%= uxRwmAP.ClientID %>");
    var radCombo = $find('<%= uxPagesDdl.ClientID %>');
    radCombo.trackChanges();
    var item = radCombo.findItemByValue(id);
    if (item) {
        item.select();
    }
    radCombo.updateClientState();
    radCombo.commitChanges()
    rwManager.open(null, "uxPageSelector");
    return false;
}

(The document.getElementById calls are for hidden fields).

As it stands, the code above does not select the item in the RadComboBox, i.e. item is null. I know there are items in the RadComboBox as call to get_Items() returns 105 objects.

Any suggestions? I'm on a bit of tight deadline on this one :-s

Thank you,

Mike Kingscott
Mike
Top achievements
Rank 1
 answered on 22 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?