Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
39 views
At least I hope so...
 I would like to change the cursor for all rows in the grid to be the "pointer" cursor, you know the little hand with the index finger sticking up...  
Where's the best place to achieve the desired result????  and how?

Thanks in advance,
Kevin Orcutt
Matson Money Inc.
(513) 204-8000 x8245
(513) 204-8245 (Direct)
Kevin.Orcutt@MatsonMoney.com
www.MatsonMoney.com
Kevin
Top achievements
Rank 1
 answered on 24 Feb 2014
5 answers
94 views
I have a radlistbox that is displaying the contents of a Queue table in a database using a Linq data source. The point of the page is to allow administrators to change the order of items in the Queue. There is a thread that is running elsewhere that is processing items in the queue and removing them. The page with the list box on it refreshes every 20 seconds automatically. If the thread processing the Queue removes an item from the table in-between page refreshes and I attempt to then reorder an item in the list before the grid re-binds I get the following error:

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"

I am utilizing the AutoPostBackOnReorder property so that the listbox/data source manage all of the ordering. Is there a way to prevent the error I've described in this case?
Plamen
Telerik team
 answered on 24 Feb 2014
20 answers
231 views
Hi,

I am adding a Column to Rad Grid at Run time. as Follows:
GridButtonColumn btncol = new GridButtonColumn();
  btncol.HeaderText = "AccountID";
                btncol.ButtonType = GridButtonColumnType.LinkButton; // setting ButtonType as LinkButton
                btncol.DataTextField = dt.Columns["AccountID"].ColumnName; // setting DataTextField to first column in DataTable
                this.rgAccountDetails.MasterTableView.Columns.Add(btncol);
                btncol.UniqueName = "AccountIDbtn";

But On paging a extra Column is being Added to the Grid Each time When I click on the On Paging.
Please See the Image Capture.jpg
Please Help me

  
Viktor Tachev
Telerik team
 answered on 24 Feb 2014
1 answer
126 views
Hi All,

Sharepoint view is loaded in Dropdown . Based on the Selected DropDown(sharepoint View Name) , all list are passed as columns in the store procedure and the grid is loaded(using Store Procedure).  And the Radgrid settings are stored in the database based on the sharepoint view names.

Whenever changes the dropdown values , the Gridsettings is loaded from the Database. Everything works fine. we are facing a issue with Filter Templates that the Filter Template values are persisted when changes the dropdown. 

Need to clear the FIlter Templates (Textbox values) and loads the FIlter value from the Database. 


Best Regards,
Satz

Kostadin
Telerik team
 answered on 24 Feb 2014
1 answer
24 views
Hi,

I have update my application installing the last Radcontrols release (before I was using RadControls for ASP.NET AJAX Q3 2011).
Since I have updated the system, it is appeared a new problem of displaying appointments in scheduler; in particular, I have found that in some case, when I have more than 5 appointments at the same day and the same hour, some of these become not visibile.
Investigating inside the generated html, I have found this issue: when the system calculate the position to assign to each box in the scheduler, it divides the available space by the number of element that it has to place, and in html assign a "left" value in "style" element; but I have seen that, when the result of this division has decimal values, it separate that with "," character, instead of "." character.

For example I find:
style="height:46px;width:6.923077%;left:6,923077%;" 
instead of 
style="height:46px;width:6.923077%;left:6.923077%;" 

As you can observe, the value of "width" element is using the correct decimal separator, so I deduce that it shouldn't be a problem of system settings but a problem of the telerik library. In attachment you can see that with ",", the box are not visible (first screenshot), while when "." it is modified from me to "." (second screenshot) everything works fine.

I'm waiting for some solution.

Regards,
Marcello





Plamen
Telerik team
 answered on 24 Feb 2014
1 answer
99 views
Hi All

I hope you are all doing well. I have a quick question related to Telerik Scheduler/ resources  control. I have a situation in web application, say I have a
project Task which my application user I would like assign it to Project Manager. This project task has start
and end date. But before assigning the task I would like to give my user a capability
to see what other task the current Project Manager has been working on during that period
by using Scheduler/ resource availability .So user has combo box with all the
Project Manager option and a button to see the scheduler/ resources availability using pop-up.
On top of that I would like to give him opportunity to see if any other Project Managera has free time slot during that period.
So in short I would like my user to give ability to see current assgnment of my selected Project manager or I can choose anyone from the combobox and it will display all the current assignment the slected project manager working on.

I will appreciate your help and look forward to hear from
you soon.

Many thanks

Syed
Plamen
Telerik team
 answered on 24 Feb 2014
1 answer
27 views
Hello Forum,

We have been using Rad Asycn Upload to upload the files to the server. The control is working with Chrome and FireFox and IE10. But as we switch to IE9 or Lower versions of Internet Explorer, the control no longer works. Please find the web site project created in reference to the problem that we are facing at our end. The website is also having "Telerik.Web.UI.dll" in the Library folder of the web application attached. Also the screen snaps have been attached with the problem when the file is uploaded to the server on IE9 or IE8. Can anyone please help or guide me through the issue?



Thanks
Bas
Hristo Valyavicharski
Telerik team
 answered on 24 Feb 2014
6 answers
556 views
I have a user whose permissions have recently changed on our SharePoint site collection.  She's editing a page using the Telerik RAD Editor Lite.  I have the Tools.xml file set to show the MOSSLinkManager button.  When she tries to add a new link, she clicks on the link manager icon on the toolbar and it works fine.  If she then clicks the "Browse" button next to the URL textbox, she gets a new popup window with just "403 Forbidden" in it. The same thing happens if she tries to edit an existing link - click the link button and it shows the curent URL in the textbox.  Click the "Browse" button and she gets a popup window with 403 Forbidden.

Can anyone thing why this might be or what causes this?  I have noticed that when you click the browse button, by default it tries to browse a URL that you last browsed to.  So possibly because this user's access permissions have changed, the popup window is trying to browse to a document library to which she no longer has access.  I don;t know how to reset that default location?  Could there be another cause of the problem?

It's only happening to this one user - could it be something on her PC?
Jon
Top achievements
Rank 1
 answered on 24 Feb 2014
1 answer
114 views
 I am trying to add a listview inside another listview itemtemplate. parent listview has openaccesslinqdatasource. inner listview has onneeddatasource. But i cant access any control custom attribute or parent GetDataKeyValue . There is old post here about it but no result avery time give me null. Thank you.
 basic structure.

***************---------------***************
<telerik:RadAjaxPanel ID="apCevapList" runat="server"
                                     ViewStateMode="Enabled"
                                     EnableViewState="true">

          <telerik:RadListView ID="lvParent" runat="server"
                                      DataKeyNames="CId"
                                      DataSourceID="OADLSParent"
                                      ViewStateMode="Enabled"
                                      EnableViewState="true"
                                      Skin="MetroTouch">
                                            <ItemTemplate>
                                                          <asp:HiddenField ID="hfCid2" runat="server" Value='<%# Eval("CId") %>' />
                                                          
                                                           <telerik:RadAjaxPanel ID="apCevapYorum" runat="server"
                                                                                ViewStateMode="Enabled" EnableViewState="true">
                                                    
                                                                        <telerik:RadListView ID="lvChild" runat="server"
                                                                                          DataKeyNames="Id"
                                                                                          EnableViewState="true"
                                                                                          ViewStateMode="Enabled"
                                                                                          InsertItemPosition="FirstItem"
                                                                                          AllowPaging="True"
                                                                                          PageSize="5"
                                                                                          Skin="Transparent"
                                                                                          OnNeedDataSource="lvChild_NeedDataSource"
                                                                                           OnItemCommand="lvChild_ItemCommand">
                                                                                         <ValidationSettings CommandsToValidate="PerformInsert"
                                                                                         ValidationGroup="insertGroup"
                                                                                         EnableValidation="true"></ValidationSettings>
                                                                       </telerik:RadListView>
                                                              </telerik:RadAjaxPanel>
                                                  </ItemTemplate>
                                 </telerik:RadListView>

</telerik:RadAjaxPanel>
***************---------------***************

Code behind something like that:

***************---------------***************
protected void lvChild_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
{
RadListView lvChild = (RadListView)sender;
RadListViewDataItem parentItem = (RadListViewDataItem)lvChild.NamingContainer;

var parentDatakeyId = (int)parentItem.GetDataKeyValue("CId"); //This give me null exception
//OR
// this button is in itemtemplate of parent with custom attribute cId= '<%# Eval("CId") %>'
RadButton rb = (RadButton)parentItem.FindControl("btnShowChildLvInsertItem");
 int cId = Convert.ToInt32(rb.Attributes["cId"]);//null
//OR
 HiddenField hf = (HiddenField)parentItem.FindControl("hfCId");
string cId2 = hf.Value;//null
***************---------------***************

i can Access all cid value or other values in itemcommand event of child lv. but there is a problem  at needdatasource event of child listview. all cid null.
Thank you.
Daniel
Telerik team
 answered on 24 Feb 2014
5 answers
405 views
Hello everybody,

When I am trying to set the text of a Multiline RadTextBox from CodeBehind, Internet Explorer (tested with 9 & 11) does not render new lines.
The text is coming from our database and lines are separated by "\r\n" - which should work in a textarea according to various other pages. Firefox and Chrome display it perfectly fine, while IE doesn't work (see attachments).

The text coming from the database is:
"06.02.2014 10:57, LeonardTest: defg\r\n06.02.2014 10:57, LeonardTest: hijk\r\n06.02.2014 10:57, LeonardTest: abcd\r\n"

I also tried replacing "\r\n" by "&#10;" (html new line) as well as <br />, but neither of them work.

Does anyone know a solution for this problem? It would be greatly appreciated!

Thanks
Leonard
Venelin
Telerik team
 answered on 24 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?