Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
157 views
Hello friends,

i am working on telerik control and i used RadUpload control in my project everything working fine but while i select file after selected one file its not supporting.
 is there any properity for select multipal file ? if yes than please let me know. 

Thanks in advance.


Kate
Telerik team
 answered on 29 Mar 2013
3 answers
116 views
Hi Guys,

I'd like to Output Cache my menu - it is different in only 2 cases - Logged in and ClientID; I can handle these OK but what can I do about the selected item? Currently I'm using FindItemByValue and selecting it in code.

How to handle the selected Item client side please?

Cheers,
Jon
Kate
Telerik team
 answered on 29 Mar 2013
1 answer
273 views
Am getting the following error while accessing my web site

This error is captured from firebug in firefox--
"NetworkError: 403 Forbidden - http://MyServer/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManagerMaster_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.929.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a15a8cff0-9e51-4282-a100-c2dcd204ecf2%3a16e4e7cd%3af7645509%3a24ee1bba%3a19620875%3a874f8ea2%3a490a9d4e%3abd8f85e4%3bAjaxControlToolkit%2c+Version%3d3.0.30930.22451%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a308b3473-9a10-42d7-abe0-9740a95490da%3adc2d6e36%3ab14bb7d5%3aa3e10fa2%3a13f47f54%3a701e375f%3a1d056c78%3a3c55b13e%3ade51bc8f%3aa4313c7a%3a5acd2e8e%3af8a45328"

I have gone through many online available resources but no luck.The same works on a different server b8ut not on a new one.
We are using win server 2k8 and IIS 7.0.Please help..
Here is my web config(only sys.web and sys.webserver are included)

<system.web>
				<machineKey validationKey="ValidationKey" decryptionKey="decKey" validation="SHA1" decryption="AES" />
				<customErrors mode="Off" />
				<pages validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
						<controls>
								<add tagPrefix="CustomControls" namespace="CustomControls" assembly="CustomControls" />
								<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
						</controls>
				</pages>
				 
				<compilation debug="false" targetFramework="4.0">
						<assemblies>
								<add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Workflow.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
								<add assembly="System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
								<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
							<add assembly="System.Web.Extensions,     Version=1.0.61025.0,       Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
						</assemblies>
				</compilation>
				 
				<authentication mode="Windows" />
				<identity impersonate="true" />
				
				 
				<httpHandlers>
						<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
						<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
						<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
						<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
						<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
					<remove verb="*" path="*.asmx"/>
					<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
				</httpHandlers>
 
			<httpModules>
				<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions,  Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
			</httpModules>
 
			<sessionState mode="StateServer" stateConnectionString="My state server"  timeout="60" stateNetworkTimeout="40" useHostingIdentity="true" compressionEnabled="true"  />
				<httpRuntime maxRequestLength="16384" executionTimeout="1800" waitChangeNotification="5" maxWaitChangeNotification="15" />
		</system.web>
<system.webServer>
				<validation validateIntegratedModeConfiguration="false" />
			<modules>
				<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			</modules>
				<handlers>
						<remove name="ChartImage_axd" />
						<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
						<remove name="Telerik_Web_UI_DialogHandler_aspx" />
						<remove name="Telerik_RadUploadProgressHandler_ashx" />
						<remove name="Telerik_Web_UI_WebResource_axd" />
					<remove name="WebServiceHandlerFactory-Integrated"/>
 
					<add name="handler-wa" path="*" verb="*" modules="IsapiModule" scriptProcessor="d:\Apps\Program Files\Netegrity\webagent\win64\bin\ISAPI6WebAgent.dll" resourceType="Unspecified" requireAccess="None" preCondition="bitness64" />
						<add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
						<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
						<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
					<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
				 
				</handlers>
				<security>
						<requestFiltering>
								<requestLimits maxAllowedContentLength="16777216" />
						</requestFiltering>
				</security>
				<staticContent>
						<mimeMap fileExtension=".log" mimeType="application/octet-stream" />
				</staticContent>
				<defaultDocument>
						<files>
								<clear />
								<add value="default.aspx" />
								<add value="Default.htm" />
								<add value="Default.asp" />
								<add value="index.htm" />
								<add value="index.html" />
								<add value="iisstart.htm" />
						</files>
				</defaultDocument>
				<isapiFilters>
						<clear />
						<filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" />
						<filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" />
						<filter name="ASP.Net_2.0_for_V1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv1.1" />
						<filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv4.0,bitness64" />
						<filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv4.0,bitness32" />
						<filter name="SiteminderAgent" path="d:\Apps\Program Files\Netegrity\webagent\win64\bin\ISAPI6WebAgent.dll" preCondition="bitness64" />
				</isapiFilters>
		</system.webServer>
Andrey
Telerik team
 answered on 29 Mar 2013
4 answers
350 views
How can I move the scrollbar all the way to the bottom of a RadGrid after doing a postback?

Thank You in Advance!
Pavlina
Telerik team
 answered on 29 Mar 2013
1 answer
71 views
hi master

I meet a problem. please help me.

I using radgrid and bind data with client
I next page 4 and delete row. that have index 4 with ajax. after delete sucess.
I next page 5. Data is page 5 but current page in footer show page 1

i hope every will help me

Thanks very much
Andrey
Telerik team
 answered on 29 Mar 2013
1 answer
134 views
Hi,

In a certain situation I would like to use a SearchBox as a control parameter for an SQLDataSource.
But what property name should I use for that to work ? I coulnd't find properties like Text or Value or SelectedValue...

<asp:ControlParameter ControlID="RadSearchBoxEvt" Name="evt" PropertyName="Value" Type="String" />

Bozhidar
Telerik team
 answered on 29 Mar 2013
4 answers
943 views
How to modify this sample http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_enableresizedock/defaultcs.aspx to disable resizing then no sliding panes are docked/expanded ???
Pankratov
Top achievements
Rank 1
 answered on 29 Mar 2013
2 answers
166 views
Hello,

I have added RadGrid on ASPX page and I want to add columns dynamically to this RadGrid.
I am facing problem like if page gets refreshed it creates some extra columns at the end. It should maintain same columns if i sort/change page or any postback occurs  because of asp.net controls.
Here is the code that I am using.

ZZZ.BL.ReportsBL reportBl = newZZZ.BL.ReportsBL();
       protected void Page_Init(object source, System.EventArgs e)
       {
               RadGrid1.MasterTableView.Columns.Clear();
               BuildGridColumns();
        
       }
       protected void Page_Load(object sender, EventArgs e)
       {
           if (!IsPostBack)
           {
               drpBillingCycles.DataSource = reportBl.GetBillingCycles(37);
               drpBillingCycles.DataBind();
           }
       }
       protected void drpBillingCycles_SelectedIndexChanged(object sender, EventArgs e)
       {
           int PageCount = 0;
           System.Data.DataTable cd = new System.Data.DataTable();
           RadGrid1.VirtualItemCount = PageCount;
           RadGrid1.DataSource = reportBl.GetReportData("325012", 37, RadGrid1.CurrentPageIndex, RadGrid1.PageSize, out PageCount);
           RadGrid1.DataBind();
       }
       protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
       {
           int PageCount = 0;
            RadGrid1.VirtualItemCount = PageCount;
           RadGrid1.DataSource = reportBl.("325012", 37, RadGrid1.CurrentPageIndex, RadGrid1.PageSize, out PageCount);
           //RadGrid1.DataBind();
       }
       private void BuildGridColumns()
       {
           RadGrid1.MasterTableView.Columns.Add(GetGridBoundColumn("PhoneNumber","Phone Number"));
           RadGrid1.MasterTableView.Columns.Add(GetGridBoundColumn("UserName", "Phone User Name"));
           RadGrid1.MasterTableView.Columns.Add(GetGridBoundColumn("EmpId", "Employee Id"));
           RadGrid1.MasterTableView.Columns.Add(GetGridBoundColumn("Department", "Radio Number"));
           
       }
       private GridBoundColumn GetGridBoundColumn(string DataField,string HeaderText)
       {
           GridBoundColumn boundColumn1 = new GridBoundColumn();
           boundColumn1.DataField = DataField;
           boundColumn1.UniqueName = DataField;
           boundColumn1.SortExpression = DataField;
           boundColumn1.HeaderText = HeaderText;
           return boundColumn1;
       }

Chetan
Top achievements
Rank 1
 answered on 29 Mar 2013
1 answer
132 views
When I have grouped a grid, with nested table, in columns and in the prerender event i hided some of gruped results happen that remain a spaces in the grid.
I'm try in all ways to remove that spaces but without success.
I see that the spaces disappear when I open and collapse a grouped row.
In the attached file can you see the result's grid.
This is the code.

For Each item As GridGroupHeaderItem In gridTelerik.MasterTableView.GetItems(GridItemType.GroupHeader)

item.Expanded = False

Dim groupDataRow As DataRowView = CType(item.DataItem, DataRowView)

If item.DataCell.Text.IndexOf("Partita:") > -1 Then

item.DataCell.Text = item.DataCell.Text.Replace(item.DataCell.Text.Substring(9, 8), "")

Dim StrdtReverse As String = item.DataCell.Text.Substring(item.DataCell.Text.Length - 10, 10)

Dim StrdtReverseConcat As String = String.Concat(StrdtReverse.Substring(6, 4), StrdtReverse.Substring(3, 2), StrdtReverse.Substring(0, 2))

Dim dtRowPartita() As DataRow = dataTableEstrattoConto.Select(String.Concat("Partita='", StrdtReverseConcat, item.DataCell.Text.Replace("Partita: ", ""), "'"))

For ik As Integer = 0 To dtRowPartita.Length - 1

totaleNettoPartita += Convert.ToDecimal(dtRowPartita(ik).Item("Importonetto"))

Next

item.DataCell.Text = String.Concat("Saldo partita: <b>", String.Format("{0:n2}", totaleNettoPartita), "</b>")

totaleNettoPartita = 0

End If

'item.DataCell.Text = "$" + groupDataRow("Cliente").ToString() + " (" + groupDataRow("Importonetto").ToString() + ")"

If item.DataCell.Text.IndexOf("Cliente:") > -1 Then

Dim dtRowCliente() As DataRow = dataTableEstrattoConto.Select(String.Concat("Cliente='", item.DataCell.Text.Replace("Cliente: ", ""), "'"))

For ik As Integer = 0 To dtRowCliente.Length - 1

totaleNetto += Convert.ToDecimal(dtRowCliente(ik).Item("Importonetto"))

totaleRitenuta += Convert.ToDecimal(dtRowCliente(ik).Item("Importoritenuta"))

totaleLordo += Convert.ToDecimal(dtRowCliente(ik).Item("Importolordo"))

totaleImponibileRitenuta += Convert.ToDecimal(dtRowCliente(ik).Item("Imponibileritenutaacconto"))

Next

item.DataCell.Text = String.Concat(groupDataRow("Cliente").ToString().TrimStart, "<br> <b>TOTALI: Importo lordo:</b> ", String.Format("{0:n2}", totaleLordo), _

" - <b>Imponibile ritenuta acconto:</b> ", String.Format("{0:n2}", totaleImponibileRitenuta), _

" - <b>Importo ritenuta:</b> ", String.Format("{0:n2}", totaleRitenuta), " - <b>Importo netto:</b> ", String.Format("{0:n2}", totaleNetto))

If totaleLordo = 0 Then

If (Request.QueryString("st") Is Nothing) Or _

(Not Request.QueryString("st") Is Nothing AndAlso Request.QueryString("St").ToString <> "1") Then

'se le partite si pareggiano tra di loro, perch ad es. c' una nota di credito in un altra partita

'non rendo visibile il tab

item.Visible = False

item.Display = False

item.Expanded = False

End If

End If

totaleGenerale += totaleNetto

totaleLordo = 0

totaleNetto = 0

totaleRitenuta = 0

totaleImponibileRitenuta = 0

End If

Next

Kostadin
Telerik team
 answered on 29 Mar 2013
5 answers
324 views
Hi,

In my RadGrid 10 rows are displaying while clicking the linkbutton which is outside the grid my grid should display 20 rows per page. Any one can help me on this.

Regards,
Nithya
Angel Petrov
Telerik team
 answered on 29 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?