Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
141 views
Hello,

We are using RadControls for ASP.Net AJAX.

We have a RadGrid control set to "Auto-generate columns at runtime". The control also has filtering enabled. We have a vertical scrolling issue. The filter controls are anchored and do not scroll with the vertical scroll bar. This only occurs for filter controls that contain date and numeric values. The filter controls that contain string data scroll correctly with the vertical scroll bar.

The app has been deployed to IIS. We have two client machines that experience the above vertical scrolling issue. A third machine does not have any vertical scrolling issues.

All three machines are running IE9.

Any suggestions?

Thanks,
Mike


Mike
Top achievements
Rank 1
 answered on 10 Jul 2012
1 answer
98 views
Hi - I'm new to the Visual Studio 2010 telerik asp.net Ajax tools from telerik.

-Visual Studio 2010 SP1 + Ajax Toolkit
-RadControls for ASP.NET Ajax, Version:  2012.2 607 (Jun 11, 2012)

I'm trying to follow the sample Navigation tutorial.

I build the project and page from scratch, following the nav tutorial. All was working as expected until I tried to replicate the Alert call.
At one point they add a RadAjaxManager, and add a RadMenuItem to a RadMenu, and in the RadMenu1_ItemClick event handler call :

 RadAjaxManager1.Alert("The value for clicked item is: " + e.Item.Value);

The alert simply doesn't work for me. The page seems to refresh with no -popup alert.

I do understand javascript, and am used to having to register the script as the page loads.

So did I miss something in setting up the page, or some property of RadAjaxManager?
I've looked in other forum posts, but they don't seem to match my issue.

rachmann
Top achievements
Rank 1
 answered on 10 Jul 2012
1 answer
69 views
Hello
here is some of my problems in my web application:

1. why after loggin to the website it does not go to every user's associated default page?
   i have defined it in sitemap and i have used membership.

2. i have set an update query for sqldatasource and it works fine but after making columns which query parameters are
bound to them read only, the update does not work.

please help.

Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Jul 2012
4 answers
430 views
I M Using a Radgrid in which i need to disable radgrid Commnds on Some DataItem ..
I m using RadgridEditCommand Column as well asRadgridbutton Column.
Even if i make them enable false..Clicking on that itemCommand gets fired.


 

Private Sub DisableRadGridCommand(ByVal dtitem As GridDataItem, ByVal colname As String)

 

 

Try

 

 

For Each ctrl In dtitem(colname).Controls

 

 

If (TypeOf ctrl Is WebControl) Then

 

 

CType(ctrl, WebControl).Enabled = False

 

 

End If

 

 

Next

 

 

Catch ex As Exception

 

 

End Try

 

 

End Sub

 

Distribuidora Electrica
Top achievements
Rank 1
 answered on 10 Jul 2012
2 answers
289 views
hello

        i am a beginner of this Rad controls and working on Chart controls for our major project in college. i have already added three references " chart , core and premitives" but when try to add chart controls in toolbox from source then this pop-up appear  


                                            There are no controls in C:\program Files\ telerik\RadControls for windows phone 7 Q2 2012\Binaries\windows phone\telerik.windows.controls.chart.dll that can be placed on the toolbox. 

"sorry it should be in Windows Phone Forum forgive me"

  please help me  . Thank you
Lalit
Top achievements
Rank 1
 answered on 10 Jul 2012
8 answers
798 views
I'm using a RadGrid with a GridNumericColumn as: 

<telerik:GridNumericColumn DataField="VALUE" HeaderText="Testing Decimal Value" DecimalDigits="6" DataType="System.Decimal" UniqueName="VALUE" NumericType="Number" />

When I enter a decimal value as 1.000015 it is accepted and I'm able to successfully process this value when accessing the hash table in my custom update command. However, when I try to enter a value with as 0.000015 or -0.000015 it turns into scientific notation (0.5E-05) when attempting to update the value and errors out. I have tried setting the AllowRounding to true or false as well as setting the KeepNotRoundedValue to true or false without any change. This problem only occurs if I use a value starting with a 0 and using more than 3 zeros in the precision, i.e. 0.00001. 

I see in the Q1 2012 BETA there is a fix that may resolve my issue? (Fixed: RadNumericTextBox applies scientific notation on focus and wrong value on blur when DecimalDigits and AllowRounding are set and value like 0.0000001 is entered)

I'm unable to update to the BETA at this time and need to know if there is a possible workaround for this precision problem? Any help would be appreciated.

Thanks,
Brandon 
Robert
Top achievements
Rank 1
 answered on 10 Jul 2012
0 answers
110 views
I am building a Repository of user-control and wanted to find out the best way to server the CSS classes.

1. Should I load them ALL into 1 giant External CSS File and load it whenever a given user-control is rendered?
2. Should I load them into 1 External CSS File per user control?
3. Should I embed the CSS into the Markup of the user-control with RadCodeBlocks?

I cant see doing inline as a benefit as it would make a nightmare to modify an tweak.

This is open to all users to give me some pros and cons of each...

I'm leaning to #3 for manageability...
David Beck
Top achievements
Rank 1
 asked on 10 Jul 2012
1 answer
117 views
Hey, I am trying to figure out if it is possible to construct a grid and use the export to excel functionality without using it in a webform. I just want to get the functional feature of exporting without visually displaying it in the web. Is that possible?

I know there is a TelerikData.dll that contains ExportToExcelML, so I'm looking for something like that, but probably in the ASP.NET version...

Thanks!
Eyup
Telerik team
 answered on 10 Jul 2012
0 answers
73 views
Hi everybody,

I'm new on Telerik.

I wrote this code below, for CRUD operations:

The insert command worked perfectly, but Update did not.

On first attemp (TextBox)e.Item.FindControl("txtComponente");  return null, and I do not understand why 
On second attemp item.UpdateValues(obj);  do nothing

Anybody can help me?

Thanks in advance.

 
public void RadGrid1_ItemComand(Object sender , GridCommandEventArgs e)
       {
           switch (e.CommandName)
           {
               case "Insert" :
                   try
                   {
                       TextBox txtComponente = (TextBox)e.Item.FindControl("txtComponente");
                       TextBox txtDescricaoComponente = (TextBox)e.Item.FindControl("txtDescricaoComponente");
                       Inserir(txtComponente.Text, txtDescricaoComponente.Text);
 
                       DisplayMessage(false, "Sucess!");
                       Response.Redirect("ConsultaComponente.aspx");
                   }
                   catch ( Exception ex)
                   {
                       DisplayMessage(true, ex.Message);
                   }
                   break;
 
               case "Update" :
                   try
                   {
 
                       //First attempt
                       var ID = item.GetDataKeyValue("IdComponente").ToString();
                        
                       TextBox txtComponente = (TextBox)e.Item.FindControl("txtComponente");
                       TextBox txtDescricaoComponente = (TextBox)e.Item.FindControl("txtDescricaoComponente");
                       Update(ID,txtComponente.Text, txtDescricaoComponente.Text);
                        
                        
                       //Second attempt
 
                       GridEditableItem item = e.Item as GridEditableItem;
                        
                       var ID = item.GetDataKeyValue("IdComponente").ToString();
 
                       Componente obj = ComponenteController.Consulta(Convert.ToInt32(ID));
                       
                       item.UpdateValues(obj);
 
                       Update(obj)
                   }
                   catch (Exception ex)
                   {
                       DisplayMessage(true, ex.Message);
                   }
                   break;
           }
Duan
Top achievements
Rank 1
 asked on 10 Jul 2012
1 answer
179 views
Now I don't know if something has mysteriously happened since the upgrade came out, but I upgraded this morning and have had a whole host of problems, most of which I have sorted out, however, when trying to place the htmlchart on to the page via drag and drop, nothing is happening, and when pasting the code from the demo onto the page, it's erroring. Here is a copy of my web config file:

<?xml version="1.0" encoding="utf-8"?> 
<!--   For more information on how to configure your ASP.NET application,
 please visit
  http://go.microsoft.com/fwlink/?LinkId=169433   
old connection string  <add name="dbtestConnectionString" 
connectionString="Data Source=MNEWEY1\SQLEXPRESS;Trusted_Connection=Yes;
Initial Catalog=dbtest;Integrated Security=True" providerName="System.Data.SqlClient"/>
  
server connection string <add name="dbtestConnectionString" 
connectionString="Data Source=DEBDEV1\SQLEXPRESS;Trusted_Connection=Yes;Initial Catalo
g=dbtest;Integrated Security=True" providerName="System.Data.SqlClient"/>
  -->
<configuration>   
<
appSettings>     
<
add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />   
<
add key="Telerik.Skin" value="Transparent" />   
</
appSettings>   
<
connectionStrings>     
<
add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />     
<
add name="dbtestConnectionString" connectionString="Data Source=MNEWEY1\SQLEXPRESS;Trusted_Connection=Yes;Initial Catalog=dbComplaints;Integrated Security=True" providerName="System.Data.SqlClient" />     
<!--
<add name="dbComplaintsEntities" connectionString="metadata=res://*/DAL.ComplaintsData.csdl|res://*/DAL.ComplaintsData.ssdl|res://*/DAL.ComplaintsData.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=MNEWEY1\SQLEXPRESS;initial catalog=dbComplaints;integrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />   -->  
 </
connectionStrings>  
 <
system.web>     
<
customErrors mode="Off" />     
<
httpHandlers>       
<
add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />       
<
add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />       
<
add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 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.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />       
<
add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />     
</
httpHandlers>     
<
compilation debug="true" strict="false" explicit="true" targetFramework="4.0">       
<
assemblies>         
<
add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />         
<
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.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />         
<
add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />         
<
add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />         
<
add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />         
<
add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />       
</
assemblies>       
<
buildProviders>         
<
add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />       
</
buildProviders>     
</
compilation>     
<
authentication mode="Windows" />     
<
authorization>       
<
deny users="?" />     
</
authorization>     
<
identity impersonate="true" />     
<
membership>       
<
providers>         
<
clear />         
<
add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />       
</
providers>     
</
membership>     
<
profile>       
<
providers>         
<
clear />         
<
add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />       
</
providers>     
</
profile>     
<
roleManager enabled="false">       
<
providers>         
<
clear />         
<
add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />         
<
add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />       
</
providers>     
</
roleManager>     
<
pages maintainScrollPositionOnPostBack="true">       
<
controls>         
<
add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />         
<
add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />       
<
add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />       
</
controls>     
</
pages>   
<
httpModules />   
</
system.web>   
<
system.webServer>     
<
modules runAllManagedModulesForAllRequests="true" />     
<
validation validateIntegratedModeConfiguration="false" />     
<
handlers>       
<
remove name="ChartImageHandler" />              
<
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" />
<
add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />       
<!--
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2012.1.411.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />     -->       
<
add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />       
<
add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />       
<
add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />       
<
add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />       
<
add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />       
<
add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />     
</
handlers>   
</
system.webServer>
</
configuration>
Miles
Top achievements
Rank 1
 answered on 10 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?