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

Please can you tell me how to get the physical path of the file uploaded using file explorer.
For ex : I uploaded suppose qwerty.html .The uploaded file stored in in this phyical path  c:/content/content/Hospital1/qwerty.html
virtual path is /Content/folder1/Folder2/Qertyy.html.

Now same file if i want to download i need phyical path i.e c:/content/content/Hospital1/qwerty.html
How can i get this using fileexplorer.?

Please post the working demo example.
dont send any links for checking .i alredy checked all those links.

Thanks
Bhavani
Rumen
Telerik team
 answered on 02 Jun 2011
5 answers
163 views
A very basic page
* telerik script manager
* mootools 1.1 (with array.foreach fix for asp.net)
* linkbutton (for postback)
* empty radgrid

In IE7, after postback I get "Microsoft JScript runtime error: Object doesn't support this property or method" on a simple "document.getElementbyId()"

The stack trace was something like
unload handlers -> grid dispose metod -> $get -> getElementById -> error

Page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="Test_Default" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
<title>Untitled Page</title> 
</head> 
<body> 
<form id="form1" runat="server"
     
    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server" /> 
    <script type="text/javascript" src="mootools-1-11.js"></script> 
    
    <asp:linkbutton ID="Button1" runat="server" text="Submit" onclick="Button1_Click" /> 
     
    <telerik:RadGrid ID="grid" runat="server" EnableAjaxSkinRendering="False"
        <MasterTableView> 
            <Columns> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
     
</form> 
</body> 
</html> 

Code behind
using System; 
using System.Collections; 
using System.Web; 
 
public partial class Test_Default : System.Web.UI.Page 
    protected void Page_Load( object sender, EventArgs e ) 
    { 
        // EMPTY 
    } 
 
    protected void Button1_Click( object sender, EventArgs e ) 
    { 
        // EMPTY 
    } 


Any ideas?

Veli
Telerik team
 answered on 02 Jun 2011
1 answer
450 views
Hi guys, is it possible to change the colors of items within  the listbox?

i gave the listbox a text and datavalue, now the data value is a category value..if the first chosen type value is A..it would highlight other items that have the same value as the initial checked item

Shinu
Top achievements
Rank 2
 answered on 02 Jun 2011
11 answers
235 views
I am using a RadGrid with filtering, sorting etc. turned on with the latest version of the AJAX Control toolkit.

The script manager is an AJAX ToolkitScriptManager.

The grid seems to function perfectly apart from filtering. When I attempt to filter the following error is returned

 

Message: 'Sys$Enum$parse' is undefined
Line: 2951
Char: 55
Code: 0
URI:
http://machine/project/ScriptResource.axd?d=uGOaxGkvEePM-XITAS7HdYgdtEC_2h8s3nT0YB4_k4X9r-qiHP2gpiGD--kG1fjE9x_rFUcN0gTBUY4TId2jMQ2&amp;t=4ed2e5c4 

 
This is a real issue as the site is heavily dependent upon the filtering functionality.

I have check the web.config references, I have also checked that HTTP compression is not enabled etc.

Any clues? This is starting to drive me crazy!!

Thanks,

Jason

nguyen
Top achievements
Rank 1
 answered on 02 Jun 2011
7 answers
207 views
If I add a bunch of RibbonBarButtons to a RibbonBarSplitButton server side.  The OnSplitButtonClick event never fires when they are clicked.  How do I register that event to the server side created buttons?  And is there a way to have the control do that automatically in the future?
John
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
71 views
I like to have a stanard calendar but to have a hyperlink property such that when a user clicks on a date,
I can pass that in a querystring to a scheduler which will then default to that date.
Is there a property for the RadCalendar that will allow for hyperlinks when a user selects the date?
I seen the hyperlink control but is there a way to do this simply by using a property?
Gimmik
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
111 views
Hello Telerik Expert,
What I need is when a user clicks on a RadCalendar's date, it will open up a RadScheduler.
To start off with, for the RadScheduler, what I have done is to actually hard code the ID.
But as it interacts with the RadCalendar, what it should do is when a user clicks on a date, it will open up a RadScheduler.
When the user fills in some info for the specific time span, a new ID will be created and stored back to the Database.
So when the user comes back to that date or any other date on a calender to see their schedule, they can see that specific ID's information. How can we do this? Will the RadScheduler automatically create a new ID, etc. on Insert and update the ID's value on update and even delete automatically.

Please advise.

Thank you.
Gimmik
Top achievements
Rank 1
 answered on 01 Jun 2011
2 answers
114 views
Hi Everyone,

I have a gridview where I am displaying some data, one of the column in the gridview can have up to 4000 characters. Users are asking me to display 100 characters in the grid and then provide either a plus sign or mouse over thing inside the column that will pop up a windows that shows all the 400 characters in the pop up window.

Please let me know if someone has any suggestions on how to accomplish this.


Thanks.
Anjali
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
158 views

Hi,
My chart has more than one series (the number always changes).
I want to add these series dynamically into my chart (sometimes 2 sometimes 5 series). I tried to use an array but it did not work. How can I add the (changing number) chart series dynamically? and what is the problem with the array? (Please see the code below)

Thanks,
Ervin

 

Dim rowNumber As Integer = ds.Tables(0).Rows.Count
Dim myChartSeries(rowNumber - 1) As ChartSeries
For index As Integer = 0 To rowNumber - 1
With myChartSeries(index)

.Name = s1

.Appearance.TextAppearance.TextProperties.Color = Color.Blue

.Type = ChartSeriesType.Line

.Appearance.LabelAppearance.Visible = True

.Appearance.PointMark.Dimensions.AutoSize = False

.Appearance.PointMark.Dimensions.Width = 7

.Appearance.PointMark.Dimensions.Height = 7

.Appearance.PointMark.FillStyle.MainColor = Color.Black

.Appearance.PointMark.Visible = True
For index2 As Integer = 0 To 5
Dim
mychartSeriesItem As Integer = Int(ds.Tables(0).Rows(0).Item(index2 + 1))

 

 

myChartSeries(index2).AddItem(mychartSeriesItem)
Next

End With

chart.AddChartSeries(myChartSeries(index))
Next

chart.DataBind()

ervin
Top achievements
Rank 1
 answered on 01 Jun 2011
8 answers
844 views
Hi,

I have a radgrid and it is a bound column.  I have tried to set the format using DataFormatString = "{0:NNN-NNN-NNNN}"  but I keep getting 9999999999 as the output.  I would like 999-999-9999

I read somewhere that the column had to be a number in order to format it the way I want it.  There has to be an easy way to format this?

thanks,
Will
Gimmik
Top achievements
Rank 1
 answered on 01 Jun 2011
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
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
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?