Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
843 views
Hi All,

My question for client side code only using JavaScript.
I have a RadDropDownTree in my Form. In that DropDown I have some some data.
Suppose.
Central
    Middle Central
            Chicago
    Texoma
..
.
.
above mention is same data.

Now What I want is when User Select Chicago then Select text in client area of that dropdown should be anything like 'ABCD' or anything. I just want to set the
Selected text of that DropDownTree. I tried below mention code but is not working, In my RadDropDownTree, it still showing emptymessage.

var combo = $find("<%= RadDropDownLocations.ClientID %>");
combo._selectedText = "Davolio" + ";" + "Leverling";

Can someone guide me how can I set the text in DropDownTree
 Let me know in case of any more information

Vijay
David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 20 Sep 2019
2 answers
154 views

In my project, on one of the page, the HTML rendered by RadGrid contains three HTML tables (one for header, one for data, and one for footer).

But on another page, the HTML rendered contains only one HTML table.

I can't figure out what settings are affecting the different rendering layout. Please advise.

Thanks!

Sheng
Top achievements
Rank 1
Iron
Iron
 answered on 20 Sep 2019
1 answer
100 views

We are using Telerik grid filters to display configuration dashboard for release management status. I have few Columns i.e Application, environment, location. I want to retain columns parameters after I refresh the browser.

 

Is there way I can retain the parameters which are coming from the database?

-

Attila Antal
Telerik team
 answered on 20 Sep 2019
1 answer
381 views

Hi Team,

 

I have a got paging enabled on a Radgrid, and this grid is in a web user control, this grid usercontrol is also in another user control.

when I drop the user control on an ASPX page, it works fine. but when I put grid usercontrol in another usercontrol, initial it was doing a postback and refreshing the whole page, but I bypassed that by add a RadAjaxManagerProxy which handled the AjaxUpdatedControl.

But my issue now, is that once I click on a paging page, it shows the paging page, but it it stops clicking and can't navigate to the rest of the paging page.

Any help would be appreciated 

Thanks in Advance.

Attila Antal
Telerik team
 answered on 20 Sep 2019
1 answer
389 views

Hi from France !

In my project i've got problem with this situation :

I've got a radgrid, x columns.

My first column is used for generate my rowSpan.
<telerik:GridBoundColumn UniqueName="idMaille" DataField="idMaille" Display="false"></telerik:GridBoundColumn>    

while idMaille is the same, Merge my gridTemplate column : "M0" 

i've set Freezecolumn to 2

HTML generate is like this :

Row 1 :
<tr>
 <td>FirstColumn(idMaille) not displayed</td>
 <td rowspan="2">My Text rowspanned </td>
 <td> next column </td>
</tr>

Row 2 :
<tr>
 <td>FirstColumn(idMaille) not displayed</td>
 <td> next column </td>
</tr>

But because rowspan is set in my 2nd row, my 2nd column is in reality the third !
and when i move scrollbar, javascript set "display:none"

i think this problem can it resolved if we can specify fixed columns (id/property) and generate a css class for reference for javascript.
i'm remember in old project with infragistics, we specify columns who want freeze.

 

<ClientSettings><Scrolling AllowScroll="true" FrozenColumnsCount="2" UseStaticHeaders="true" /></ClientSettings>
<MasterTableView HeaderStyle-HorizontalAlign="Center" ShowHeadersWhenNoRecords="False" >
  <Columns>        
<telerik:GridBoundColumn UniqueName="idMaille" DataField="idMaille" Display="false"></telerik:GridBoundColumn>               
                <telerik:GridTemplateColumn UniqueName="M0">
                    <ItemTemplate>
                        <div class="rw0">
                                test                              
                        </div>
                    </ItemTemplate>   
                </telerik:GridTemplateColumn>
  <telerik:GridTemplateColumn UniqueName="M1">
                    <ItemTemplate>
                        <div class="rw1">
                                test 1
                        </div>
                    </ItemTemplate>   
                </telerik:GridTemplateColumn>
  </Columns>        
</MasterTableView>

 

Attila Antal
Telerik team
 answered on 20 Sep 2019
1 answer
134 views

Hi,

Does anyone experience an issue with the menu not triggering the itemclick event.

I have recently had a forced windows 10 major update on my local development PC, but when I started to work on debugging a code, it looks like the item click event is no longer triggering.

I have the below code

AddHandler MainMenu.ItemClick, AddressOf MenuItemSelected

Then have the following eventhandler

Private Sub MenuItemSelected(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs)

But on putting a breakpoint, the eventhandler function never get triggered when I clicked on the menu, 

Please let me know if I am missing something because this seems to be quite a simple code.

 

Thank you

Peter Milchev
Telerik team
 answered on 19 Sep 2019
1 answer
176 views

Hi 

Is there a way to optimize reports results. We are trying to use it in one of our products at ZTABS but when data gets larger, reports get really slow. What to do ? Specially in case of joins in the queries. 

 

Todor
Telerik team
 answered on 19 Sep 2019
1 answer
133 views

I have a rad grid full of keys assigned to an employee, which is populated from an employee selected in a combo box, and that information is pulled in from sql. I have the allow edit column turned on as there is one column that will need updating, the key status. All other columns are hidden when I hit edit. When the edit button is hit, a drop down box appears under the selected row, full of options for the status of the key. One should be selected, and then when update is hit, it should then change the key status in the grid. To do this, I need to pass a parameter, ID, to the update key store procedure I want to use for updating to the database. Each key has an ID, and upon editing a row, the parameter of course needs to be the value of the ID column in that selected row upon editing. How exactly do I implement this? Pictures attached to show what I am working with, things blurred out as necessary. I am working in VB.

 

 

 
Attila Antal
Telerik team
 answered on 18 Sep 2019
4 answers
114 views

I have 2 objects:

Checkbox1
ComboBox1

When the checkbox1 is checked Combobox1 becomes visible="true" and enabled.
I've used the AJAXManager UpdatedControls and this is working perfectly but the issue is that when im trying to use an eventhandler for example "OnIndexChanged" of Combobox1 it never gets fired.

Below is my sample code:

AjaxManager
 

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager"
       DefaultLoadingPanelID="RadAjaxLoadingPanel1">
       <AjaxSettings>
 <telerik:AjaxSetting AjaxControlID="ComboCompanies">
               <UpdatedControls>
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="chkCompany">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ComboCompanies" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>

 

    

Eyup
Telerik team
 answered on 18 Sep 2019
3 answers
196 views
I am noticing that everything on my page is successfully caching except the calls to the RadScriptManager and RadStyleSheetManager resource handlers.   Here's an example of the firebug output from the style sheets:

Last Modified   Wed Mar 31 2010 10:52:18 GMT-0400 (Eastern Daylight Time)
Last Fetched   Wed Mar 31 2010 10:52:18 GMT-0400 (Eastern Daylight Time)
Expires   Thu Mar 31 2011 10:51:28 GMT-0400 (Eastern Daylight Time)
Data Size   11318
Fetch Count   8
Device   disk


Response Headers
Cache-Control   public, max-age=31535988
Content-Type   application/x-javascript
Content-Encoding   gzip
Expires   Thu, 31 Mar 2011 14:51:29 GMT
Vary   User-Agent
Server   Microsoft-IIS/7.5
X-AspNet-Version   2.0.50727
X-Powered-By   ASP.NET
Date   Wed, 31 Mar 2010 14:51:40 GMT
Content-Length   11318

Request Headers
Host   localhost:81
User-Agent   Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100105 Firefox/3.6
Accept   text/css,*/*;q=0.1
Accept-Language   en-ca,en;q=0.5
Accept-Encoding   gzip,deflate
Accept-Charset   ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive   115
Connection   keep-alive
Referer   http://localhost:81/
Cookie   ASP.NET_SessionId=wyuncl55hepul5aai14evaqg
Cache-Control   max-age=0

Any thoughts on why it isn't caching?

Thanks,
Colin
Rumen
Telerik team
 answered on 17 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?