Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
Hi,

We are working on a legacy ASP .NET 2.0 web application. I was wondering, if we can use Telerik ASP .NET AJAX ComboBox (ASP .NET RadControls 2012 Q1) in this web application? If not, is there any other way we can use this control in ASP .NET 2.0?

Thanks in advance :)

Sabbir
Shinu
Top achievements
Rank 2
 answered on 30 May 2012
3 answers
190 views
Hello All, 

       I created one daily recurrence appointment from 1/1/2012 to 1/5/2012 in radscheduler using contextmenu. after that i deleted the 1/3/2012 occurrence, when i am loading the radscheduler next time i have to omit the deleted item , could you please any one tell me how can i achieve this?
                                 ex: i am getting the exchange appointment items and bind it into radscheduler. i deleted one occurrence(1/3/2012) in exchange. after that i refresh my page, there is no changes in the radscheduler control. i checked the exchangeappointment properties. in that no property to find the deleted items. could you please any one help me how can i identify this


Thanks.

Peter
Telerik team
 answered on 30 May 2012
1 answer
115 views
Hi all,

         My requirement is like, I have a bound column named age. I need that column to be made hide and unhide by my users. How to hide and unhide a column on an external button click?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 30 May 2012
5 answers
190 views
Hey Guys,

Hope someone can assist.  I am experiencing a weird issue.  I recently deployed some changes to our Staging Server.
In my Local Development Environment, there are no issues.  Tested on IE8, Firefox and Chrome

When I view the same site on our STAGING server, firefox and chrome no issue
but ...
on IE8 returns a JavaScript error

JavaScript Error
Message: '2.offsetHeight' is null or not an object
Line: 12023
Char: 1
Code: 0
URI: http://<server_name>/aspx/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions .....

So after checking all the deployment files were done successfully I then debugged the JavaScript on while running the STAGING version and found that for IE8 in the following code snippet
"if(($telerik.isIE6||$telerik.isIE7||$telerik.quirksMode)&&(i[0].style.height!="")){var j=d("tr > td > div",k);"

$telerik,isIE7 was returning true.  Why is it returning true for IE8? no idea.  I have tried this one 2 other PC's in the office, same error. 

I do not think it is a deployment issue otherwise it would not work perfectly on FF or Chrome.
I don't think It is an issue specific to IE8 because it works perfectly on IE8 running my Local Devt' site, only STAGING has the issue.

When I debugged the JavaScript it was the Telerik.Web.UI.RadListBox._preInitialize which was calling the code with the error so I included a snippet of the ListBox in the Panel.

<telerik:RadPanelItem runat="server" Text="Manager Filter (0 Items selected)" Expanded="false" Value="ManagerfilterPanel" Visible="false"><br>                    <ContentTemplate><br>                        <div class="item"><br>                        Search:&nbsp;<telerik:RadComboBox runat="server" ID="cboManagerSearch" ShowToggleImage="false" Width="330" Filter="Contains" DropDownWidth="330" EnableScreenBoundaryDetection="true" NoWrap="true" OnSelectedIndexChanged="cboManager_SelectedIndexChanged" AutoPostBack="true"></telerik:RadComboBox><br /><br>                        <telerik:RadListBox runat="server" AllowTransferDuplicates="false" Width="400px"<br>                            Height="265px" AllowTransferOnDoubleClick="true" EnableDragAndDrop="true" Font-Names="Calibri" EnableMarkMatches="true"<br>                            ID="lstSourceManager" AllowTransfer="true" TransferToID="lstPickedManager" <br>                            SelectionMode="Multiple" Skin="Windows7" OnClientTransferred="OnClientTransferredManager" Sort="Ascending"><br>                            <HeaderTemplate><br>                                <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Managers</div><br>                            </HeaderTemplate><br>                        </telerik:RadListBox><br>                        <telerik:RadListBox runat="server" Font-Names="Calibri" ID="lstPickedManager" Height="265px" EnableMarkMatches="true"<br>                            Width="380px" AllowTransferDuplicates="false" AllowTransferOnDoubleClick="true" PersistClientChanges="true"<br>                            EnableDragAndDrop="true" SelectionMode="Multiple" Skin="Default" Sort="Ascending"><br>                            <HeaderTemplate><br>                                <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Selected Managers</div><br>                            </HeaderTemplate><br>                        </telerik:RadListBox></div><br>                    </ContentTemplate><br>                </telerik:RadPanelItem>

Any ideas? Any suggestions would be much appreciated.

Thanks

B
Peter Filipov
Telerik team
 answered on 30 May 2012
1 answer
110 views
I have a RadGrid that's using an Asp.Net LinqDataSource to feed it data. I'm working with a particularly large data set (20k+ records) and the capabilities of the RadGrid to utilize the LinqDataSource's ability to page and sort at the database level have been highly useful. After running Sql Profiler, I've noticed that Grouping is having performance issues due to the fact that it's bringing the entire dataset back to the server and doing the grouping operations there. Is this expected behavior or am I doing something wrong?

Thanks,
Dennis
Antonio Stoilkov
Telerik team
 answered on 30 May 2012
1 answer
95 views
Hi, I am using Javascript to resize alot of my control.

I would like to do something like that with a RadTextBox (MultiLine) for example:

$find("myControl").ResizeInput(width, height);

So that, I don't have to pass my control in parameter. I want to use "this" instead inside my function. I don't know if I'm clear enough.

Thanks.
Vasil
Telerik team
 answered on 30 May 2012
3 answers
241 views
Hello 

Is it possible to set sliders maximum value dynamically?
i mean something like this
maximumvalue=<% bind.pricemaximum %>

Thanks in advance
Niko
Telerik team
 answered on 30 May 2012
1 answer
155 views
Good morning all,

I am a bit of a novice with this system, so I may be in a bit over my head with what I am trying to do.  I have a report with two charts right now.  Those are working fine.  What I wanted to do was add two tabs to the report, each with a radgrid view to show different information.  I read up on the ASP.Net pages about the RadMultiPage function.  I was expecting when I added it to see separate pages to which I could add the grid view components, and then add the RadTab headers to the pages.  Clearly I am going about it wrond because all I saw was a simple box on my BodyContent page.

What is the correct steps to create the view I am going for?  Do I create a whole new web form, and set up a Multipage function from the start, or can this be added after the fact?  Sorry for the confusion question, but I am definitely a bit confised here as to how to proceed with the idea.  I'm not afraid of the coding aspect of it, I am just not up to the skill levl (in my opinion) to understand it quite  yet.
Dimitar Terziev
Telerik team
 answered on 30 May 2012
1 answer
106 views
I have a ListView defined like this ...
<telerik:RadListView runat="server"
                     ID="RadListView1"
                     AllowMultiItemSelection="false"
                     ItemPlaceholderID="items"
                     ClientDataKeyNames="ContactId, Surname, Forename, Organisation, Email">
    <LayoutTemplate>
        <div id="listview"
             class="RadListView RadListView_#= owner.Skin #">
            <asp:Panel runat="server"
                       ID="items"
                       ScrollBars="Vertical"/>
        </div>
    </LayoutTemplate>
    <ClientSettings>
        <ClientEvents OnCommand="radListView1_OnCommand"/>
        <DataBinding>
            <ItemTemplate>
                <div class="item">
                    <div>
                        <strong>#= String.format("{0}, {1}", Surname, Forename) #</strong>
                    </div>
                    <div>#= Organisation #</div>
                    <div>#= Email #</div>
                </div>
            </ItemTemplate>
            <SelectedItemTemplate>
                <div class="item selected">
                    <div>
                        <strong>#= String.format("{0}, {1}", Surname, Forename) #</strong>
                    </div>
                    <div>Home: #= HomePhone #</div>
                    <div>Mobile: #= Mobile #</div>
                </div>
            </SelectedItemTemplate>
        </DataBinding>
    </ClientSettings>
</telerik:RadListView>

Simple.
When an item in the ListView is clicked, the following code runs...
listView.toggleSelection(index);
var clientDataValues = listView.get_clientDataKeyValue()[index];

Where index is the item index of the item clicked.

My problem is that clientDataValues is always empty. I know that the value of index is correct 'cos the items selected state toggles correctly. Even if I hard-code an index it's empty.

Am I supposed to cast a different spell if I'm client-side binding?

--
Stuart


Tsvetina
Telerik team
 answered on 30 May 2012
2 answers
75 views
Hello,

I’ve created a RadListView with paging (RadDataPager) which is working fine.

I’ve inserted a call to a userControl in the “itemTemplate”. It’s working fine for the first page, but is empty for the other pages. The parameters are not passed on to the control.

Could someone help me correct this, please ?
Evelyne Schreiner
Top achievements
Rank 1
 answered on 30 May 2012
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?