Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
113 views
Hi,

Is it possible to change the value of the GridDropDownColumn EmptyListItemText at runtime in the ItemDataBound event?
I want to change the value for that EmptyListItem depending on the data which this item is bound to...

Kind Regards,
Raymond
IT Support
Top achievements
Rank 1
 answered on 13 Jan 2010
4 answers
184 views
Some users of my website get overlapping items in a dropdownbox (SEE ATTACHED FILE).
I am using a telerik dropdown control in a radgrid:

 

<telerik:GridDropDownColumn DataField="TaskID" ItemStyle-Width="380px" DataSourceID="DSTaskCombo"

 

 

HeaderText="Task" ItemStyle-Wrap="True" ListTextField="TaskToShow" ListValueField="TaskID" UniqueName="TaskID"

 

 

 

ColumnEditorID="TaskID" ItemStyle-Font-Size="9px" >

 

 

 

</telerik:GridDropDownColumn>

 

 

 

 

And when editing:

<

 

telerik:GridDropDownListColumnEditor ID="TaskID" runat="server" DropDownStyle-CssClass="ActiveDropDown" DropDownStyle-Width="260px" DropDownStyle-Font-Size="9px" />

 

 

 

 

 


Do anyone have a solution.

 

 

 

Simon
Telerik team
 answered on 13 Jan 2010
3 answers
118 views
I am running into a Javascript runtime error - Object doesn't support this property or method - while trying to use the radopen function. Here is the code snippet:

 

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>    
 
 
   
<script type="text/javascript">    
 
function openWin()    
{   
 
 
 
    var oWnd = window.radopen("/Checkout/FindDistributorPopup.aspx", null);    
}  
 
 </script>  
 
 
 

I am trying to call this JS function on a button's onclick event:

<button onclick="openWin();">Search for Distributor</button>

 

 

 

Thanks in advance for your help.

 

 

 

 

Mark Galbreath
Top achievements
Rank 2
 answered on 13 Jan 2010
2 answers
191 views
Hi

I am looking at developing an iPhone app (browser) with Radmenu with the iPhone template.

I have noticed in the example that all the menu items and links are in one page, is it possible that the menu can load on demand, for example, I click on first item menu, then second, but the third item menu will need to be populated from an online database, then when the user clicks on a menu item, it will load the page with the details.

For example my menu would be as follows.


Seminars >   Monday  
                     Tuesday
                     Wednesday > Load all seminars for Wednesday as a menu from db (when clicked) > Seminar 1
                                                                                                                                                        > Seminar 2 (click and load from db)


Wondering if this is possible to load info when clicked.

Richard

Kamen Bundev
Telerik team
 answered on 13 Jan 2010
2 answers
192 views
Hello, I'm running ASP.NET AJAX grid 2009.3.1103.35 with two GridDateTimeColumn fields. I'm using auto-generated edit form in popup mode. Whenever the popup screen is displayed, I see two date fields with the date picker icon to open the calendar. Whenever I click on one of the date pickers, the calendar comes up fine. However, if I try to click on date picker for the second field, after I have already opened and closed the first date picker, the calendar doesn't come up. I also get a javascript error (line 3450, Char 1, Error: Object Required). The same thing happens if I open the date picker on the second date field first, then I cannot open date picker on the first date field while the popup form is open.
Albert
Top achievements
Rank 1
 answered on 13 Jan 2010
3 answers
125 views
Hi,

We are using  a Line chart of rad chart for updating a day wise price of a stock.
 Say,  Stock price of ABC and value increase or decrese on daily basis.
EX:
Jan 1-Rs10
Jan 2-Rs20
Jan 3-Rs25
Jan 4-Rs30
...................................................
FEB1- Rs15
FEB2-Rs20
...................................................
DEC1-Rs50
...................................................
So if i log-on Jan 20th, it should draw a line graph for Jan 1 to 20th and X-Axis should contain dates from Jan 1st to 20st.
and  If a person logs-on on July7th, He should see the line graph from Jan1 to July7th and X-Axis should contain Months for clarity.

Please let me know how to resolve this prom. Do we have any inbulit functions or methods for doing the same in Rad Chart.


Thanks
Pawan Parashar
Schlurk
Top achievements
Rank 2
 answered on 13 Jan 2010
3 answers
186 views
Ok, I seem to be having some trouble getting my webpart to include a RadGrid and show up on my MOSS 2007 site.  I made references to Telerik.Web.Design (version 2009.3.1103.20) and also Telerik.Web.UI (version 2009.3.1103.20). Here is a sample of the code that I'm basically uploading:

using System;  
using System.Runtime.InteropServices;  
using System.Web.UI;  
using System.Web.UI.WebControls;  
using System.Web.UI.WebControls.WebParts;  
using System.Xml.Serialization;  
 
using Telerik.Web.UI;  
 
using Microsoft.SharePoint;  
using Microsoft.SharePoint.WebControls;  
using Microsoft.SharePoint.WebPartPages;  
 
namespace tdRadGridDocuments  
{  
    [Guid("64992D37-4BF7-4a9d-886F-084B94073071")]  
    public class RadGridDocuments : System.Web.UI.WebControls.WebParts.WebPart  
    {  
        public RadGridDocuments()  
        {  
        }  
 
        protected override void CreateChildControls()  
        {  
            base.CreateChildControls();  
 
            //  Create RadGrid   
            RadGrid objDocuments = new RadGrid();  
 
            RadScriptManager objScriptManager = new RadScriptManager();  
 
            this.Controls.Add(objScriptManager);  
            this.Controls.Add(objDocuments);  
 
 
        }  
    }  
} 

Am I approaching this the write way?  I think I would just like to add the RadGrid but I think this version requires a ScriptManger control to be added before?  When I navigate to the page in Sharepoint that contains the WebPart I get the generic 'Error loading Page' screen with the specific error seems to be 'File Not Found'. 

J
J
Top achievements
Rank 1
 answered on 13 Jan 2010
1 answer
127 views
for example my appointment slot is  9 to 10 when i drag that appointment to 2 to 3 how can i capture that appointment time 2 to 3 .....

in which event
 i can capture..that time ... 
Shinu
Top achievements
Rank 2
 answered on 13 Jan 2010
11 answers
759 views

Hi there,

I’m having troubles getting RadFileExplorer to work. Listing files works fine, and viewing also, but uploading and deleting doesn’t work at all.

 

If I try to delete a file, I first get an error in Visual Studio in a script file loaded from a web resource (Telerik.Web.Resource.WebResource_2.axd), in _callWebService:function(_13,_14,_15), on line 29:

if(this._folderCache[_1e]!=null&&!_14){

The error is ‘Microsoft JScript runtime error: 'this._folderCache' is null or not an object’. If I continue, I get the following response: The selected file could not be deleted because the application did not have enough permissions. Please, contact the administrator.

 

I’m running it from Visual Studio, using the Development Web Server, and I have Full Control rights in the directory I want to delete a file from. I also tried running Visual Studio as Administrator, which made no difference. After the error, my upload button also mysteriously disappears.

 

If I try to upload a file, I get no error in Visual Studio, but I get the following response in my page: E:ErikDownloadstest.jpeg : Cannot write to the target folder!

 

My RadFileExplorer is declared as follows:

 

<telerik:RadFileExplorer runat="server" ID="FileExplorer" DisplayUpFolderItem="False" Skin="Office2007" VisibleControls="Grid, Toolbar, ContextMenus">

       <Configuration SearchPatterns="*.jpg,*.png,*.gif,*.css,*.htc,*.jpeg,*.bmp" />

</telerik:RadFileExplorer>

 

In code-behind, the only interaction with the control is setting the ViewPaths, DeletePaths and UploadPaths, all set to the same single path, formatted as a virtual path, ending in a forward slash.

 

My page uses a RadScriptManager and contains an UpdatePanel, but that doesn’t seem to be the issue; the FileExplorer causes errors whether I have the UpdatePanel on the page or not.

I'm running the latest build.
Hope somebody has some suggestions.

Thanks, Roland

Kyle Banashek
Top achievements
Rank 1
 answered on 13 Jan 2010
1 answer
107 views
Hi I am using a custom Content Provider using a SQL database and have had great success but..

Is there a way to intercept and change the Directory Names before end user presentation?
A typical path in my system looks like: Root\Objects\ObjectType (14)\Object (14.52)\

I want to show Root\Objects\Practitioners\John Doe\

I have no problem doing the translation but I need to do it at Runtime and not store it that way otherwise if John Doe changed his name my directory association would be lost.

Thanks,
Marc
Fiko
Telerik team
 answered on 13 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?