Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
165 views
Hi,

I'm trying to get use attributes to pass some urls and icons around, so that I can incorporate a status icon next to the resource heading.

I've managed to come up with jQuery suitable for inserting the appropriate image element into the DOM, but when I look in my attributes, there aren't any. They were there on the server side however as it returned from GetResouces, so they don't appear to have been mapped to the client collection.

The code that I'm running on the client in response to a OnClientDataBound event is as follows:

        function refreshStatusIcons(sender, eventArgs) { 
            var allresources = sender.get_resources(); 
            var jobresources = allresources.getResourcesByType('Job'); 
 
            var resourceheaders = $('table.rsVerticalHeaderTable div.rsMainHeader', sender._element); 
 
            resourceheaders.each(function() { 
                var headerelement = $(this); 
 
                var icon = $('.ocStatusIcon', headerelement); 
                if (icon.size()==0) { 
                    headerelement.html('<img class="ocStatusIcon" />' + headerelement.html()); 
                    icon = $('.ocStatusIcon', headerelement); 
                } 
                var jobresource = jobresources.getResourceByTypeAndKey('Job''Res'+headerelement.text().trim()); 
                icon.attr('src', jobresource.getAttribute('IconURL')); 
            }); 
        } 
 

Clearly this is susceptible to changes in css class names and markup etc. so it's not perfect.

What do I have to do to get the resource's attributes to load into the client? Is this fixed in a later version? How do I download the latest version?

Cheers.


Plamen
Telerik team
 answered on 16 Apr 2013
1 answer
118 views
I am developing a page to allow the user to send out emails to a large number of recipients.  I am using a RADProgressArea to notify her that something is happening - and to prevent timeouts.  Unfortunately, when the job completes the control - poof! disappears from the page.  Is this expected behavior?
Hristo Valyavicharski
Telerik team
 answered on 16 Apr 2013
5 answers
65 views
I'm wondering if its possible in some way to turn OFF the scrolling (or ON)?  I've tried to find a way via javascript, but it doesn't look like you have access to this feature.  In my case users can specifically set the height on a grid, but until its drawn on the page (and depending on the skin used) you wont know if the scrollbar is active or not, so it doesn't seem possible from ServerSide.  Is this possible somehow??

<Scrolling AllowScroll="true" />

 

 

 

Angel Petrov
Telerik team
 answered on 16 Apr 2013
1 answer
52 views
Hi,
  I just saw the new updates to RadAsynUpload Component. I love it. The only addition I wish to make to it is to call my own upload mechanism. Here is the case:

1) User Uploads 1 or many files.
2) Calls my own upload mechanism.
3) Use the progress bar for 1 or many files from Telerik. 
2) As the file completes I want to add additional fields like description and Date.
3) Finally save the data to sql server.

Any help would greatly be appreciated.

Thanks,
Amin

Plamen
Telerik team
 answered on 16 Apr 2013
1 answer
212 views

I want to hide the verion number in viewstate for the AJAX teltrik controls that i am using in my web application as we dont want our client to have that information. we are able to see there controls version number when i do a viewsource.

Please help me, I have this issue to fix ASAP.

Thanks,
Swapna
Rumen
Telerik team
 answered on 16 Apr 2013
2 answers
108 views
Hi Friends, 

I have the telerik rad chart,  when i click on  specific item in the Legend it has to redirect to other page with selected item id with query string, can you please help me for this.

Ex: default.aspx?id=io# 1388249 or  default.aspx?id=io# 1389656

Thanks in advance


Chandu
Top achievements
Rank 1
 answered on 16 Apr 2013
2 answers
187 views
How can I set different prices(or another info ) for different periods in RadCalendar?




Tnx
Ahmad
Ahmad
Top achievements
Rank 1
 answered on 16 Apr 2013
2 answers
94 views
Hi Peter,

When validating a drop down list, is there a way to make it so that only data in the last level of a branch is selected?  ie in the example below only the bold text would count as a selected value and as such allow the control to validate to true.

1
1.1
1.1.1
1.1.2
1.2

1.3
1.3.1

Regards

Jon
Jon
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
384 views
Hi Telerik,

I am a bit confused with the usage of the various modes of protection in RadCaptcha. Can someone get me how the Captcha, time out and Hidden textfield differ?

Thanks for your reply,
Saira
Princy
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
122 views
Hi,

The RadCaptcha is appearing as a combination of alphabets and numbers. How can I restrict all the digits from the captcha?

Thanks for your reply,
Saira
Princy
Top achievements
Rank 2
 answered on 16 Apr 2013
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?