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

when i try to create a new Radcontrols vb.net web site from telerik menu i got this error
Error this Template attempted load an untrusted.....
you can see the picture for all message
i hope you help me
mshooot
Top achievements
Rank 1
 answered on 19 Feb 2010
2 answers
127 views

Ok I am having some very odd behavior.

For one when running a site wiht telerik controls in firefox I don't get the skin, and none of my buttons that cause a rad window to pop up work.  They work finr in IE.

 

The other issue is in IE everything works great untill you hit the refresh button.  If you hit the refresh button you get the same behavior as Firefox, rad windows won't work, don't get skins.  But if you expand or collapse a grid group you get th eskins and the rad windows work again.  but instead of having the nice clean url

http://gofilepointtest.fairviewinvest.com/chesapeake

you get

http://gofilepointtest.fairviewinvest.com/documentlist.aspx?fund=chesapeake

 Everything works fine with out using the rewrite.

More info when I hit the error in ie I get 'Sys' is undefined
don't seem to get an error in firefox

Eric Klein
Top achievements
Rank 1
 answered on 19 Feb 2010
1 answer
234 views
I have searched and surprisingly couldn't find any match on this topic.  I want my ordered list to start from a specific number and couldn't find any bullet list wizard tool to do it like in Adobe Indesign.

Thanks.
Rumen
Telerik team
 answered on 19 Feb 2010
2 answers
102 views

Hello.

 

I have a problem with a view and openaccess, i have 3 fields to return for build  a multicolumn radcombobox, in the examples for create multicolumn radcombo typed the following:

e.Item.Text = (DirectCast(e.Item.DataItem, DataRowView))("Field1").ToString() + _
                "; " + (DirectCast(e.Item.DataItem, DataRowView))("Field2").ToString() + _
                "; " + (DirectCast(e.Item.DataItem, DataRowView))("Field3").ToString()

Now to create a RadCombo with OpenAccess I've typed the following,

e.Item.Text = (DirectCast(e.Item.DataItem, TelerikORM.Mivista).Field1).ToString() + _
 " - " + (DirectCast(e.Item.DataItem, TelerikORM.Mivista).Field2).ToString() + _
 " - " + (DirectCast(e.Item.DataItem, TelerikORM.Mivista).Field3).ToString()

and the problem is that when I run the form displays all records repeated with data from the last returned in the query, the number of records that is well add, delete and the number of records is OK, but the description is the only is the last record that casts the query OpenAccess.
As if to create the records only reads the last record is of the number of records resulting in the query.

 

thanks for the Colaboration

Alex Alfonso
Bogotá - Colombia

Simon
Telerik team
 answered on 19 Feb 2010
1 answer
64 views
Image Manager dialog in the Editor works fine on my development machine.  When I upload to a development server (over which I have no control), I get a generic 404 error message (conveniently it doesn't tell me what page it's looking for).  Below are excerpts from my web.config.  Any ideas?  I tried the article on changing the extension from aspx to axd (http://www.telerik.com/community/forums/aspnet-ajax/editor/telerik-web-ui-dialoghandler-aspx-404.aspx), but I get the error that the dialogs need to be added to web.config if I do that.  Thanks!

<system.web> 
    <httpHandlers> 
      <remove verb="*" path="*.asmx" /> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.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="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
    </httpHandlers> 
<system.web> 
 
 
 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <modules> 
      <remove name="ScriptModule" /> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="Telerik.Web.UI.WebResourcexxx" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
      <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, 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_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" /> 
    </handlers> 
    <defaultDocument> 
      <files> 
        <remove value="index.html" /> 
        <remove value="index.htm" /> 
        <remove value="Default.asp" /> 
        <remove value="Default.htm" /> 
        <remove value="iisstart.htm" /> 
      </files> 
    </defaultDocument> 
  </system.webServer> 
Rumen
Telerik team
 answered on 19 Feb 2010
1 answer
193 views
Hello,

I have a .txt document that when pasted into the editor, creates <br><br> after each paragraph instead of surrounding each paragraph with <p> tags.  Why would this happen?  I can send you the document to test if needed.

Thanks
Rumen
Telerik team
 answered on 19 Feb 2010
0 answers
178 views
Is it possible to have both close button and a HideDelay?

If the user dont close it manualy, after 20 seconds, it closes itself.


Forget about it, searching around I have found it.

http://www.telerik.com/community/forums/aspnet-ajax/tooltip/autoclose-and-manualclose.aspx
André Freitas
Top achievements
Rank 1
 asked on 19 Feb 2010
3 answers
98 views
Hello,

I am using the integrated RadMultiPage and the RadTabStrip controls in my web application. And in one of my RadPageView I have a fusion chart control.
The issue is in while browsing using Mozilla Firefox and Google chrome the fusion chart reloads every time when RadTab containing fusion chart is selected ( after navigating to other tab and coming back).
The reason for this behavior seems to be that the Mozilla based browsers reloads the flash if the container css property is set to display:none for hiding the unselected tab items.
(Ref: http://www.fusioncharts.com/forum/Topic10506-36-1.aspx).

My question is how does the RadTabStip control hides the unselected RadTab. Is it by using display:none css property OR visiblity:hidden property?..

Is there anyway to force the RadTabStrip control to override visiblity:hidden property instead of Display: none for hiding the unselected tab items.?(so that flash doesn't reloads when RadTab is selected again)

Thanks,
Basit
Basit Mohammed Abdul
Top achievements
Rank 1
 answered on 19 Feb 2010
6 answers
402 views
Hello,
I would like to add the scope attribute to a GridTableCell. I know this can be done for a GridTableHeaderCell. Essentially, what I want to be generated is:
<td scope="row">stuff</td>

for the leftmost table cell. In my BindColumnValues method I have tried the following:
GridDataItem dt = (GridDataItem)e.Item; 
GridTableHeaderCell rowHeader = (GridTableHeaderCell)dt["DocumentNumber"]; 
rowHeader.Scope = TableHeaderScope.Row; 
but, of course, this generates an exception ("Unable to cast object of type 'Telerik.Web.UI.GridTableCell' to type 'Telerik.Web.UI.GridTableHeaderCell'.")

Is there a way to do this? Am I missing something obvious?

Thanks,
Scott


Jeff
Top achievements
Rank 1
 answered on 19 Feb 2010
1 answer
142 views
Hi,

I use the export to Excel function of radgrid, my users have been reporting that when they press "save" from the export dialog there is an extra folder created on their desktop with the same name as the XL file.  Opening the XL file everything looks normal but when they email the XL file to anyone else it seems that ll the data is actully in the extra folder and the emailed file will not open correctly.  Is this something that you are aware of?

We're using IE8 and Q3 2009.

Cheers
Jonathan

    protected void btnExport_Click(object sender, EventArgs e)  
    {  
        LoadResults();  
        radGridResults.ExportSettings.FileName = "FaCTS_" + Request.QueryString["ReportType"] + "_" + DateTime.Now.Day.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Year.ToString();  
        radGridResults.ExportSettings.ExportOnlyData = true;  
        radGridResults.ExportSettings.IgnorePaging = true;  
        radGridResults.ExportSettings.OpenInNewWindow = true;  
        radGridResults.MasterTableView.ExportToExcel();  
    }  
 
    protected void LoadResults()  
    {  
        //Type reportType = Type.GetType("FaCTSServer." + Request.QueryString["ReportType"].ToString() + ", FaCTSServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null");  
        //IList _results  = (IList)Activator.CreateInstance((typeof(List<>).MakeGenericType(reportType )));  
 
        Type serviceType = Type.GetType("FaCTSServer." + Request.QueryString["ReportType"].ToString() + "Service" + ", FaCTSServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null");  
 
        object[] parameters = new object[] { txtSqlWhere.Text };  
 
        try  
        {  
            //Invoking a static method (How to invoke a static method??)     
            IList _results = (IList)serviceType.InvokeMember("GetSearchResults", BindingFlags.Default | BindingFlags.InvokeMethod, null, null, parameters);  
 
            //load the clients  
            //_results = PersonService.GetSearchResults(txtSqlWhere.Text);  
              
            ReportColumn _col;  
            GridBoundColumn boundColumn;  
            radGridResults.MasterTableView.Columns.Clear();  
            foreach (ListItem item in chkLstColumns.Items)  
            {  
                if (item.Selected == true)  
                {  
                    //add a column to the report grid  
                    _col = ReportColumnService.GetByID(Int32.Parse(item.Value));  
                    boundColumn = new GridBoundColumn();  
                    radGridResults.MasterTableView.Columns.Add(boundColumn);  
                    boundColumn.DataField = _col.DisplayName;  
                    boundColumn.HeaderText = _col.Heading;  
                    boundColumn.SortExpression = _col.SearchName;  
                }  
            }  
            radGridResults.DataSource = _results;  
        }  
        catch  
        {  
            throw new ArgumentException("The SQL Where clause was incorrect, please contact your sysadmin");  
        }  
      
    }  
 
Daniel
Telerik team
 answered on 19 Feb 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?