Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
118 views
I have recently tried to change the forms authentication tag on my web.config and i noticed that all the radmenus now hve disapread, i then change back the web config and remove the domain attribute and they work now normal.
Do anyone knows why this happens?


    <authentication mode="Forms">
      <forms name="appname" loginUrl="login.aspx" timeout="480" domain="domain.com" />
    </authentication>
Alejandro
Top achievements
Rank 1
 answered on 14 May 2014
8 answers
104 views
I have implemented client side binding just as described under http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultcs.aspx.
Only difference is that I get data from a WCF Service instead of Page methods. Paging and Filters are working fine. 
But having problems implementing Virtualization as described under http://demos.telerik.com/aspnet-ajax/grid/examples/performance/virtualization/defaultcs.aspx.
I don't want to use NeedDataSource event as I only want to communicate with Web service.
Both Paging and Scrolling fire ONCommand event which run into error.
Can anyone pls. help!


 


Kostadin
Telerik team
 answered on 14 May 2014
1 answer
100 views

Hi -

We have recently upgraded to Telerik version 2014.1.225.40. Just curious if telerik version 2014.1.225.40 support IE 8 as well ? in other words, does all the control of telerik version 2014.1.225.40 runs and load well on IE 8 ??

Quick reply for the same  is appreciated.

Thanks,

Suryansu

Rumen
Telerik team
 answered on 14 May 2014
3 answers
96 views
I can't get custom variable into inlinetemplate.. I get the variable doesn't exist in the list
The following is my code

<

telerik:RadScheduler runat="server" ID="RadScheduler1"

Width="100%" Skin="Office2007" EnableEmbeddedSkins="True"

DayStartTime="04:00:00" DayEndTime="18:00:00"

DataSubjectField="Subject"

DataStartField="Start" DataEndField="End"

DataSourceID="dbAppointment"

DataKeyField="AppointmentID"

Height="620px" CustomAttributeNames="InvoiceId,PatientId,PatientFullName,TreatmentTypeId,Description,AppointmentId" >

<

InlineInsertTemplate>

<asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%" TextMode="MultiLine" Height="40px">

</asp:TextBox> <br />

Patient:

<asp:DropDownList ID="ddPatient" runat="server"

DataSourceID="SelPatientByCurrentUserId" DataTextField="PatientFullName"

DataValueField="PatientId" SelectedValue='<%# Bind("PatientId") %>'>

</asp:DropDownList>

Treatment:

<asp:DropDownList ID="ddTreatmentType" runat="server"

DataSourceID="SelTreatmentTypeByUserUIForDoctor" DataTextField="Description"

DataValueField="TreatmentTypeId" SelectedValue='<%# Bind("TreatmentTypeId") %>'>

</asp:DropDownList>

<hr />

<asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">

<asp:Image runat="server" ID="insertImage" ImageUrl="~/Images/OfficeUser/Okay.gif" AlternateText="Confirm" />

</asp:LinkButton>

<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">

<asp:Image runat="server" ID="Image2" ImageUrl="~/Images/OfficeUser/Cancel.gif" AlternateText="Cancel" />

</asp:LinkButton>

</InlineInsertTemplate>

Boyan Dimitrov
Telerik team
 answered on 14 May 2014
1 answer
362 views
Hello, all.

I'm just getting started in telerik charting, and I'm tasked with trying to produce a real-estate stacking plan.  It's a fairly industry-standard chart that is essentially a zero-gap "StackedBar100" chart, where the items are rentable units, grouped by floor, proportioned by rentable area.  So, for example, the attached data would produce, roughly, the attached chart.  (The colors will be set item by item, based on other data, and the floors will be reversed, high to low, to mimic the building layout.)

I'm understanding most of what I need to do, but my stumbling point is the grouping field.  How do I tell the chart that series items need to be grouped based on the "Floor" field?

As I said, I'm very unfamiliar with charting programming, in Telerik or elsewhere, so I might be getting tripped up on terminology.

Thanks!

John



Danail Vasilev
Telerik team
 answered on 14 May 2014
7 answers
695 views
 


No property or field 'FilterExpression' exists in type 'DataRowView'

No property or field 'FilterExpression' exists in type 'DataRowView'

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Telerik.Web.UI.ParseException: No property or field 'FilterExpression' exists in type 'DataRowView'

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ParseException: No property or field 'FilterExpression' exists in type 'DataRowView']
   Telerik.Web.UI.ExpressionParser.ParseMemberAccess(Type type, Expression instance) +957
   Telerik.Web.UI.ExpressionParser.ParseIdentifier() +385
   Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +31
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +14
   Telerik.Web.UI.ExpressionParser.ParseUnary() +262
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +26
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +29
   Telerik.Web.UI.ExpressionParser.ParseComparison() +29
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +26
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +26
   Telerik.Web.UI.ExpressionParser.ParseExpression() +23
   Telerik.Web.UI.ExpressionParser.Parse(Type resultType) +24
   Telerik.Web.UI.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values) +47
   Telerik.Web.UI.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values) +65
   Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values) +62
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +2325
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +779
   Telerik.Web.UI.GridResolveEnumerable.Initialize() +35
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +24
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, DataView dataView, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +208
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +71
   Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +103
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +163
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +33
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +66
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +128
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
   Telerik.Web.UI.GridTableView.PerformSelect() +16
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
   Telerik.Web.UI.GridTableView.DataBind() +260
   Telerik.Web.UI.RadGrid.DataBind() +87
   Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +2435
   Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) +130
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean 
Abbas
Top achievements
Rank 1
 answered on 14 May 2014
7 answers
561 views
Hi

I am getting the following error when trying to access certain examples on the development server:

"

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

"

I suspect this is happening due to not installing the SQL database that came with Telerik?
The reason for this is that I already have a SQL Express server running.

How do I get the database for these examples into my instance of SQL Express??

Thanks


Vikas
Top achievements
Rank 1
 answered on 14 May 2014
13 answers
590 views
Hi

I have a radGrid with a template column:

<telerik:GridTemplateColumn UniqueName="colPrimaryProcedure" HeaderText="" ItemStyle-HorizontalAlign="Center"><HeaderStyle  HorizontalAlign="Center"  />
                                                                       <ItemTemplate>
                                                                           <asp:checkbox ID="chkPrimary" runat="server"  />
                                                                       </ItemTemplate>
                                                                   </telerik:GridTemplateColumn>

The values in this grid also appear later down the page in a combo box. What I'm trying to do is if a checkbox is selected the same value in the combo box is also selected.

I can do this Server side, but how do I achieve this on the client. I can't find the selected value corresponding to the ticked item in the grid.

Only 1 tickbox in the grid can be true at any one time. (this is working OK)

Andy
Andy Green
Top achievements
Rank 2
 answered on 14 May 2014
11 answers
166 views
Hello friends, 

i have an issue here. as we know, checkbox's inside radgrid dont work properly(we have to put checkbox cell on edit mode, otherwise we cant update checkbox value unless we select the row first), so i made a simple js script + add an atribute to the checkbox to put it in edit mode with onmouseenter:

vb:
Dim chk As CheckBox = DirectCast(item("BlockCheck").Controls(0), CheckBox)
chk.Enabled = True
chk.Attributes.Add("onmouseenter", "changeEditor(this)")

js:
function changeEditor(sender) {
    var grid = $find("<%=RadGrid1.ClientID%>");
    var cell = Telerik.Web.UI.Grid.GetFirstParentByTagName(sender, "td");
    var batchManager = grid.get_batchEditingManager();
    grid.get_batchEditingManager().openCellForEdit(cell);
}

aspx:
<telerik:GridCheckBoxColumn DataField="BlockCheck" UniqueName="BlockCheck" AutoPostBackOnFilter="true">
    <HeaderStyle ForeColor="Black" Width="20%"></HeaderStyle>
</telerik:GridCheckBoxColumn>
<telerik:GridTemplateColumn DataField="BlockCheck" Visible="false">
            <ItemTemplate>
               <asp:CheckBox ID="Cb1" Checked='<%# Eval("BlockCheck")%>' runat="server"/>
            </ItemTemplate>
            <EditItemTemplate>
              <asp:CheckBox ID="Cb2" Checked='<%# Bind("BlockCheck")%>' runat="server" />
           </EditItemTemplate>
</telerik:GridTemplateColumn>

the issue is: this works wonderfull on chrome and firefox, but on internet explorer, this keeps bugging the state of the checkbox, after i changed it. its like, loosing the state on mouseout/disable celleditmode(??)
onmouseover also dont work on ie. can you guys help? 

thanks in advance,
Mike
MikeS
Top achievements
Rank 1
 answered on 14 May 2014
5 answers
515 views
Hello,

I have a grid that is already defined, with several columns, in the markup. Based on the data returned I may have to dynamically add additional columns to this grid. The additional columns can potentially have spaces in them. When setting the SortExpression property on the dynamically created GridBoundColumn I am wrapping the string value in brackets, for example GridBoundColumn.SortExpression = "[Dynamic Column Name]".

When I sort by this column I am getting the following error: [Dynamic Column Name] is neither a DataColumn nor a DataRelation for table Table.

I am creating the columns on page load when IsPostBack = false.

Any idea on how to get these things to sort?

Thanks!
Kostadin
Telerik team
 answered on 14 May 2014
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?