Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
442 views
I replaced a Microsoft Gridview with a Telerik RAD grid.  The original grid came with the cells with grid lines around each cell.  How do I duplicate this in a RAD grid?  I tried GridLines=true on the grid and on the MasterTableView - and only the headings get grid lines.
thanks

Marianne
Elliott
Top achievements
Rank 2
 answered on 03 Jan 2011
4 answers
136 views
Hello,
I use a radWindow inside a web server control, but when I put the server control inside an ajaxpanel or updatepanel, it doesn't prevent the RadWindow from causing a full postback.  I even tried to put the radWindow itself inside an ajaxpanel (in the server control) but that didn't help either.

What should I do?

Thanks in advanced!
Scott
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
123 views
Hello,
            I have a RadAsyncUpload control inside UpdatePanel (AJAX). It works well in IE but not in google chrome. It always comes up with red exclamation mark. This is very urgent and can someone help resolve this issue?..


Thanks,
Bharani
Bharani Mani
Top achievements
Rank 1
 answered on 03 Jan 2011
0 answers
49 views
I have an telerik grid which contains 2 headers (one for each column and other, one column header for multiple columns) on top of the first header.
I have a "Add New Record" button on top of the grid which I added using the "CommandItemDisplay"="Top" on the grid.
The problem is when I click on the button "Add New Record", I get an edit row for insertion on top of the headers (the headers are below the row). It looks fine when I have saved the value (i.e. after insertion)
I want row to appear below the header as the last low in the grid.
Does anyone know how to achieve this?

Thanks in advance
needy
Top achievements
Rank 1
 asked on 03 Jan 2011
1 answer
79 views
Hi,

I disabled all EmbeddedScripts and style sheets for all telerik controls in my application and put everything in one combined file.
Eveything works as expected, apart from the TreeView Control. Every page with the TreeView control still fetches a javascript file from the webresource handler
function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
    this.eventTarget = eventTarget;
.......

I don't understand why, as every other telerik control I use (RadMenu, RadRotator, RadSlider etc.) behaves correctly and doesn't request any additional files.

Below the settings I use
<telerik:RadTreeView ID="categorynavigation"
            ViewStateMode="Disabled" 
            Runat="server"
            EnableEmbeddedScripts="false"
            EnableEmbeddedSkins="false"
            EnableEmbeddedBaseStylesheet="false"
            RegisterWithScriptManager="false"
            onnodedatabound="categorynavigation_NodeDataBound"
            onprerender="categorynavigation_PreRender"
            ClientIDMode="Static"
            ></telerik:RadTreeView>

and the RadScriptManager in my master page
<telerik:RadScriptManager ID="rsmMaster" runat="server" ScriptMode="Release"
            LoadScriptsBeforeUI="false"
            AjaxFrameworkMode="Disabled"
            EnableScriptCombine="False"
            EnablePageMethods="False"
            EnableScriptLocalization="False"
            EnableScriptGlobalization="False"
            EnablePartialRendering="False"
            EnableHandlerDetection="False"
           EnableViewState="false"
            CompositeScript-NotifyScriptLoaded="False"
                                  CompositeScript-ScriptMode="Release"
                                  OutputCompression="Disabled">
            <CdnSettings TelerikCdn="Disabled" />
            <Scripts>
            </Scripts>
        </telerik:RadScriptManager>

To summarize, I don't want that any telerik control to request any files (js, css)

Regards, Deval
Simon
Telerik team
 answered on 03 Jan 2011
2 answers
104 views
Hello,

I am using loadondemand for a radcombobox control as follow:

<telerik:RadComboBox ID="DDL_district" Runat="server"
DataSourceID="DS_district" DataTextField="fullAddress  
DataValueField
="recID" Width="100%" AppendDataBoundItems="True"
                            EnableAutomaticLoadOnDemand="True" Filter="Contains"
                            MinFilterLength="3" ShowMoreResultsBox="True"
                            EnableVirtualScrolling="True" ItemsPerRequest="10"
                            LoadingMessage="Loading...."
                            EmptyMessage="No such district in the database."
                            MaxHeight="250px">
                            <Items>
                                <telerik:RadComboBoxItem runat="server" Selected="True"
                                    Text="some text"
                                    Value="0" />
                            </Items>
                          </telerik:RadComboBox>

when I try to obtain the selected value in run-time I always get "0" value even if I select an item from database.
I use following code to get districtID value

Dim districtID As String = DDL_district.SelectedValue

Am I missing something?
Dimitar Terziev
Telerik team
 answered on 03 Jan 2011
5 answers
104 views
I did some search and looks like opening the radWindow is eash, just use "RadWindow1.VisibleOnPageLoad = True" on a button click will do the trick.

But closing the window is complicate.  Why do I have to use javascript to close it?  Is there an easier way to close it after postback?
Svetlina Anati
Telerik team
 answered on 03 Jan 2011
6 answers
96 views
How can I make anchors on a page visible in the Design Mode?

They seem to be always hidden.

BR,
Marc
Dobromir
Telerik team
 answered on 03 Jan 2011
5 answers
129 views
Hi,

 I am using the RadCalendar in my webpage. While clicking on the particular date i did open the radwindow in that window i am having 3 textboxes , after entering the values in that, need to display on the particular date of that Calendar page...Now i am able to display one value ,,but how to do another two values. Tell me how to do?
Brown
Top achievements
Rank 1
 answered on 03 Jan 2011
6 answers
160 views
Hello,

I'm currently prototyping a menu where I want a child menu item to make an Ajax call, alter the Image on the parent menu, and then close the parent menu.  Here is my menu:

<Telerik:RadMenu ID="Menu_gob" runat="server" Skin="Default" OnClientItemClicked="MenuItemClicked"
    <Items> 
        <Telerik:RadMenuItem Value="AllTopics" Text="Top/All Topics" /> 
        <Telerik:RadMenuItem Value="CurrentTopic" Text="Page Lifecycle" ImageUrl="~/CABS_Images/Icon_NotSubscribed.png"
            <Items> 
                <Telerik:RadMenuItem Value="CurrentTopicNewThread" Text="Start a New Thread" ImageUrl="~/CABS_Images/Icon_NewDocument.png" /> 
                <Telerik:RadMenuItem Value="CurrentTopicSubscription" Text="Turn ON Notifications" ImageUrl="~/CABS_Images/Icon_Subscribed.png" /> 
            </Items> 
        </Telerik:RadMenuItem> 
        <Telerik:RadMenuItem Value="CurrentThread" Text="NEW THREAD, 2, 3, 4..."  ImageUrl="~/CABS_Images/Icon_Subscribed.png"
            <Items> 
                <Telerik:RadMenuItem Value="CurrentThreadNewPost" Text="Post a Reply" ImageUrl="~/CABS_Images/Icon_NewDocument.png" /> 
                <Telerik:RadMenuItem Value="CurrentThreadSubscription" Text="Turn OFF Notifications" ImageUrl="~/CABS_Images/Icon_NotSubscribed.png" /> 
            </Items> 
        </Telerik:RadMenuItem> 
        <Telerik:RadMenuItem Value="NewPost" Text="Post a Reply" ImageUrl="~/CABS_Images/Icon_NewDocument.png" /> 
        <Telerik:RadMenuItem Value="CannotPost" Text="This Thread is Read-Only" ImageUrl="~/CABS_Images/Icon_CannotPost.png" /> 
    </Items> 
</Telerik:RadMenu> 
 

I use the OnClientItemClicked event currently just to check the item being clicked, toggle the images, and close the menu.  There's no Ajax involvement yet.

<script language="javascript" type="text/javascript"
    var subbed_gbl = false
    function MenuItemClicked(sender, args) { 
        var clickedMenuItem = args.get_item(); 
        if (clickedMenuItem.get_value() == 'CurrentTopicSubscription') { 
            var CurrentTopicMenuItem = $find("<%= Menu_gob.ClientID %>").findItemByValue('CurrentTopic'); 
            subbed_gbl = !subbed_gbl; 
            if (subbed_gbl) { 
                clickedMenuItem.set_imageUrl('<%= Application("ApplicationPath") %>/CABS_Images/Icon_NotSubscribed.png'); 
                clickedMenuItem.set_text('Turn Off Notifications'); 
                CurrentTopicMenuItem.set_imageUrl('<%= Application("ApplicationPath") %>/CABS_Images/Icon_Subscribed.png'); 
            } else { 
                clickedMenuItem.set_imageUrl('<%= Application("ApplicationPath") %>/CABS_Images/Icon_Subscribed.png'); 
                clickedMenuItem.set_text('Turn On Notifications'); 
                CurrentTopicMenuItem.set_imageUrl('<%= Application("ApplicationPath") %>/CABS_Images/Icon_NotSubscribed.png'); 
            } 
            //  CurrentTopicMenuItem.blur(); 
            //  CurrentTopicMenuItem.set_selected(false); 
            //  CurrentTopicMenuItem.close(); 
            sender.close(); 
        } 
    } 
</script> 
 

This works, except that immediately after the menu closes, it opens again.  As you can see, I've tried a few different things.  I've closed it, blurred it, un-selected it, and in various different orders.  I've done this by referencing both "sender" and "CurrentTopicMenuItem", which I programmatically set to the parent menu item.  None of them do the trick.  The menu always closes and then immediately opens again.

(Note that <%= Application("ApplicationPath") %> is just a way to reference the root of the web since it can vary from development to production.)

Can you help?


Yana
Telerik team
 answered on 03 Jan 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?