Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Hello,
I was using asp.net DataList to display image previously. Now I want to use RadListView control so that i can provide reorder the image. I was using following line of code in listview
  <div id="<%# Container.ItemIndex+1 %>" class='<%# Eval("CssStyle") %>'>
This line gives error in RadListView. Then what is substitute of "Container.ItemIndex" in RadListView. Please tell me if anything else we have to do when we migrate from asp.ner datalist to RadListView.
Kevin
Top achievements
Rank 2
 answered on 21 Jan 2013
2 answers
100 views
I have a page that loads dates into a hidden field.

I'm using Javascript to parse and hilight the dates.  Using an onClick function works perfectly, but I need this to load when the document is ready.  Every time I try this I get "Cannot call method 'selectDates' of null" - which implies that the calendar is not yet loaded.  I tried using the onLoad and onInit events - same error.

Here's the code:
<script type="text/javascript">
    //-------------------------------------------------------------------------------
    function renderDates() {
        //---------------------------------------
        var calendar = $find("<%= cal_Calendar.ClientID %>");
        var hf_Dates = document.getElementById("<%= hf_SelectedDates.ClientID %>");  //hidden field
        var DateStrings = hf_Dates.value.split('|');
        //---------------------------------------
        var Dates = new Array(DateStrings.length);
        for (var i = 0; i < DateStrings.length; i++) {
            var dt = convertToTriplet(DateStrings[i]);  //see function below...
            Dates[i] = dt;
        }
        //---------------------------------------
        calendar.selectDates(Dates);  //ERROR OCCURRS HERE!
    }
    //-------------------------------------------------------------------------------
    function convertToTriplet(dateString) {
        var dp = dateString.split('/');
        var array = new Array(dp[2], dp[0], dp[1]);
        return array;
    }
    //-------------------------------------------------------------------------------   
</script>


If I call this using jQuery, I still get the error - what the hell is going on?

Gimzani

 

 

Benjamin Hall
Top achievements
Rank 1
 answered on 21 Jan 2013
6 answers
363 views
Hi,

Sorry, the title should say "Cannot" instead of "Can" :)

I am using a custom combobox which inheritates from the RadComboBox. I have added some public properties which are

[PersistenceMode(PersistenceMode.Attribute)]


I need to access these custom properties from a javascript function called from the OnClientBlur client side event. Unfortunately they are not acessible. I must be missing something very obvious but I am stuck as some code in this function must only be performed depending on the values of these properties. How can I achieve that?

Thank you for your help!
Kevin
Top achievements
Rank 2
 answered on 21 Jan 2013
5 answers
191 views
Hi, I am trying to freeze the first four columns of my telerik radgrid. However, on implementation I get the following UI issue as seen in the attached screenshot.
The telerik version used by me is 2010.3.1109.35.
And , the code snippet used is :
 <ClientSettings> 
        <Scrolling AllowScroll="true" FrozenColumnsCount="4" SaveScrollPosition="true" UseStaticHeaders="true" /> 
    <ClientEvents  /> 
    </ClientSettings> 


  How can I fix it?

Looking forward to your suggestions.
Pavlina
Telerik team
 answered on 21 Jan 2013
4 answers
180 views
Is it possible to use the RadAsyncUpload to upload a picture to a web site that has windows auth. enabled?  This is for an internal site and I can't use forms or annoyomus auth. 

I am looking for any sample code or possible work arounds to get this functionality to work with Safari and iOS 6.

Andreas
Top achievements
Rank 1
 answered on 21 Jan 2013
1 answer
83 views
Hi all,
I've tryed to use an autocompletebox inside a tooltipmanager but when I start writing an error like this was thrown " The target  for the callback could not be found or did not implement ICallbackEventHandler."
I need to solve it quickly...some ideas?
Thanks
Nencho
Telerik team
 answered on 21 Jan 2013
5 answers
100 views
Hi,

I have some input controls inside a templated edit form.

Look at the the two pictures below. As you can see, the inputs are not following the scrolling... They regain their position when I mouse over it or click somewhere... Is that a known issue ? I searched on this forum, but didn't find anything. This is only happening in IE7.

Thanks.
Jocelyn
Top achievements
Rank 1
 answered on 21 Jan 2013
1 answer
199 views
Hello,

I am evaluating the product, and I have a question.

I have a grid with a parent/child structure

I need to add a button on each child row.

I fill the grid using a run time defined dataset.

I can add a button to the parent using the configuration wizard. So when I bind the dataset to the grid, the button shows together with the parent datatable columns defined in the server.

But when I try to add the button to the child it doesn't work. Only the columns defined in the child datatable appear.

Any help will be greatly appreciated.

Thanks,

Hugo
Angel Petrov
Telerik team
 answered on 21 Jan 2013
1 answer
99 views
Hi Team,

I want to set the value of readonly property e.g. ClientId. By this i want to reduce the page size. We are using radgrid in usercontrol and page have master page so the client id is too long like ctl00_plhMainContent_ucDynamicGridForCustomerDetail_rptrCustomGrid_ctl00_gvCustomGrid.

Thanks in advance
Manish
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Jan 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?