Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
76 views
Hello everybody.
I am using Telerik in my production machine where it is installed. Now I want to know that can I execute my project designed by Telerik in another machine where visual studio is installed but Telerik is not installed? What is Telerik's portability?
Thank you.
Maria Ilieva
Telerik team
 answered on 27 Sep 2010
3 answers
169 views
I am using the declarative way ofdoing CRUD operation but I need to add a time stamp to a particular column as well.. Is there any east was to do this in the declarative framework??

Otherwise I guess I need to do everything programmatically and lose all the benefits of doing it declaratively.

Radoslav
Telerik team
 answered on 27 Sep 2010
9 answers
217 views
I've deployed the MOSS RadEditor to one of my Sharepoint sites. The editor works but all the changes I make to the toolsfile.xml do not show up.

The file I'm working on is this location on the server
C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.6.0__1f131a624888eeed\RadControls\Editor

the documentation says it should be in the ""~/RadControls/Editor" but I can't find this in my sharepoint structure anywhere

the changes I've made are simple, i removed a couple tools
    <tool name="ForeColor" />
    <tool name="BackColor" />
but they still show up. I've also tried to modify the font name list.

1) am i modifying the correct file?
2) if not, where is the toolsfile.xml exactly?

also, I have done an iisreset as well.
Thanks!
Rumen
Telerik team
 answered on 27 Sep 2010
1 answer
63 views
Hi,
In my asp.net page i have a radscheduler that i binds to a object list like this:
 RadSchedularCalendar.DataSource = woListFiltered;
 RadSchedularCalendar.DataBind();

then I need to add an another type of objects to the calendar, so I do it like this:
 foreach (CustomAppointment c in ourCATs)
            {
                //calculate the timespan
                TimeSpan dur=c.ToTime-c.FromTime;

                Appointment nCatApp=new Appointment();
                nCatApp.AllowDelete=true;
                nCatApp.AllowEdit=true;
                nCatApp.DataItem=c;
                nCatApp.Description=c.Comment;
                nCatApp.End=c.ToTime;
                nCatApp.Start=c.FromTime;
                nCatApp.Subject=c.TradesmanName+": "+c.TypeName;
                nCatApp.Visible=true;
                nCatApp.CssClass = "rsCategoryRed";
                
                RadSchedularCalendar.InsertAppointment(nCatApp);
            }

the problem is that, when editing / deleteing appointments bounded to the radscheduler (RadSchedularCalendar.DataSource = woListFiltered;), the AppointmentUpdate and AppointmentDelete is triggered as normal, but when editing / deleting appointments added by the foreach loop those event won't trigger.

An another problem that I have is that I need to open the default advanced edit form or a advanced edit form defined in an themplate when double clicking on an appointment added with the DataSource method, and run some code behind when the user double clicks on an appointment added with the foreach method.

Any help is highly appriciated :)
Peter
Telerik team
 answered on 27 Sep 2010
1 answer
96 views

Hi,


i need a help to create a new row on the click of a radgrid row,the newly created row shoulld come exactly below the row we clicked,and the both the rows the one we clicked on and the row created should be merged to on cell,pls help me


Refering the radgrid in the attached figure how can we

  1. based on a client event say on row mouse click on 1st row, I need to insert an empty row below the row on which mouse click event is raised.
  2. and the 1st column for the newly inserted rows should be merged.


Refering the radgrid in the above figure how can we freeze the 1st 3 columns

where remaining columns can be scrollable

Tsvetina
Telerik team
 answered on 27 Sep 2010
1 answer
124 views

I've deployed the Telerik.Web.UI.dll and Telerik.Web.Design.dll into the GAC on my SharePoint 2010 server (Enterprise Edition).
I've added the DLLs to the <SafeControls> section in the web.config of my SharePoint Web Application

Using the Starter Master Pages (codeplex), I've registred the Telerik.Web.UI tag prefix in the Master Page:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2010.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %> 

I'm using the default scriptmanager:
<asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" />


I've replaced the ASPmenu with a RADMenu:
<PublishingNavigation:PortalSiteMapDataSource
            ID="topSiteMap"
            runat="server"
            EnableViewState="false"
            SiteMapProvider="CombinedNavSiteMapProvider"
            StartFromCurrentNode="true"
            StartingNodeOffset="0"
            ShowStartingNode="false"
            TrimNonCurrentTypes="Heading" StartingNodeUrl="/"/>
  
        <!-- top navigation menu (set to use the new Simple Rendering) -->
        <!--<SharePoint:AspMenu
          ID="TopNavigationMenuV4"
          Runat="server"
          EnableViewState="false"
          DataSourceID="topSiteMap"
          AccessKey="<%$Resources:wss,navigation_accesskey%>"
          UseSimpleRendering="true"
          UseSeparateCss="false"
          Orientation="Horizontal"
          StaticDisplayLevels="1"
          MaximumDynamicDisplayLevels="1" 
          SkipLinkText=""
          CssClass="s4-tn">
        </SharePoint:AspMenu>-->
        <telerik:RadMenu ID="TopNavigationTabStrip" runat="server" DataSourceID="topSiteMap" />

When I view the page in IE or Firefox, I get a JavaScript error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 23 Sep 2010 10:31:37 UTC

Message: 'undefined' is null or not an object
Line: 5
Char: 94383
Code: 0
URI: http://XXX:####/ScriptResource.axd?d=WswgWMgKZb031fWGc9I5ZLzgi20lxIllsJPhxdY4UBJLJ1TFFFRh_e3Vyqj6roU61CRKpyn1RoxLJbHJKmEDp4foWysMWkjHZqVGbNmmHaY1&t=ffffffffec2d9970

 

Have I missed something, or is this a known issue?

T. Tsonev
Telerik team
 answered on 27 Sep 2010
1 answer
103 views

Am pulling my hair out on this...

By scenario is kind of complex, but I have a masterpage with a radajaxmanager, then a page with multiple use controls. In one of the controls, I have a button within a radgrid that I want to generate a download request:

Response.Clear()
Response.ContentType = "Application/msword"
Response.AddHeader("content-disposition", "attachment;filename=test.xml")
Response.Write(teststring)
Response.End()

Obviously, I need to disable AJAX for this postback...
In my grid, I have a GridTemplateColumm that has a btnGenerate
On the grid's ItemDataBound:
Dim sm As ScriptManager = ScriptManager.GetCurrent(Page)
sm.RegisterPostBackControl(CType(e.Item.FindControl("btnGenerate"), LinkButton))

But no matter what I try, when the Grid's ItemCommand is raised by the button, it remains an AJAX request.

Thanks,
Reuven
(I don't want to save the generated file nor run it through a handler to generate since it contains confidential data)

 

Daniel
Telerik team
 answered on 27 Sep 2010
2 answers
439 views
hi my dear friends :
how can i do somthing (refresh the page under the alert) with ok button of radalert?


thanks in future advace
Majid Darab
Top achievements
Rank 1
 answered on 27 Sep 2010
3 answers
64 views
Hi,

SCENARIO: We have set AllowFilteringByColumn = true in RadGrid for filteration and also we have restricted the filteraion options as only "CONTAINS"
PROBLEM: In above scenario when we filtered the Grid rows and then click on 3rd filtered row to update its contents then it will consider the before filteration 3rd row
Example: Initially RadGrid contains 6 rows and after filteration suppose it filter out 1st, 3rd, 5th row and now filtered Grid contains 2nd, 4th, 6th row as the 3 elements and when we click on 3rd filtered row (6th) then it considered 3rd instead of 6th.

Please help

Thanks in Advance
Prashant
9810494465
Iana Tsolova
Telerik team
 answered on 27 Sep 2010
3 answers
118 views
I have three tabs in my grid. I am using filter for my 1st tab and whenever I click the filter I get this error. I tried EnableLinqExpressions="False" , no luck.

Expression expected at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.ParseArguments()
at Telerik.Web.UI.ExpressionParser.ParseArgumentList()
at Telerik.Web.UI.ExpressionParser.ParseIif()
at Telerik.Web.UI.ExpressionParser.ParseIdentifier()
at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.ParseParenExpression()
at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.Parse(Type resultType)
at Telerik.Web.UI.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values)
at Telerik.Web.UI.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values)
at Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values)
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData()
at Telerik.Web.UI.GridResolveEnumerable.Initialize()
at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()
at Telerik.Web.UI.GridResolveEnumerable.get_DataTable()
at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridTableView.get_ResolvedDataSource()
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at Telerik.Web.UI.GridTableView.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.GridTableView.Rebind()
at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source)
at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument)
at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Iana Tsolova
Telerik team
 answered on 27 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?