Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
Hi,

I am doing row selection to post back to the code behind with.
<ClientSettings EnableRowHoverStyle="true"  EnablePostBackOnRowClick="true" >                                 
            <Selecting AllowRowSelect="True" />                                                 
        </ClientSettings> 

The issue I have is in my left column I have a template checkbox column that I have the users to select.  If they miss the checkbox just slightly then it causes the grid to postback.  Is there a way to disable a column from causing a OnRowClickPostBack?  I'm aware of how to get javascript events to fire on the row click, but the event args.set_cancel() is for only the client side and doesn't prevent the postback.

Thanks


Shinu
Top achievements
Rank 2
 answered on 01 Dec 2009
2 answers
188 views
I have a RadGrid in which the contents and column settings are dictated by a dropdownlist.

When a dropdownlist item is selected, the grid's data and various configurable grid settings (like reordering, sorting, filtering, and column widths) are loaded from the database.  The user can then manipulate various settings client-side and optionally save them out again.

  • When an Ajax postback occurs, like refreshing the grid, the settings are maintained by the viewstate as usual.  For instance, if the user has changed the column width, that is maintained, no problem.

  • However, when the dropdownlist selection changes, causing a totally new set of data and settings to be loaded, any viewstate settings for the old data must be abandoned.  The solution we tried was overriding LoadViewState to do nothing in this case, but we get a NullReferenceException from RadGrid.LoadClientState if a column is resized and then the dropdownlist selection is changed.  If no columns have been resized, it works.  Also, column-resizing seems to be the only setting for which the exception happens (that I've found so far).

Do you have any suggestions here, either a better way to clear the grid's viewstate on a new data load, or perhaps a workaround for the resizing issue?

Thanks very much,
Eve



Eve Cunning
Top achievements
Rank 1
 answered on 01 Dec 2009
1 answer
133 views
Hello Friends,

i am using inline editing, during insert a record that time i would like to validate entered email address is valid or not using javascipt, waiting for your reply.



Thanks & Regards,
Amit Prajapati
Princy
Top achievements
Rank 2
 answered on 01 Dec 2009
1 answer
159 views
Hi Telerik Team,

                           I am using AJAX RadScheduler control in my app's. It's working fine and it is a bery good control. I am getting a exception in my app's which is pasted below can u please give me a solution for that and if possible send me a sample application which should be able to bind all appointments dynamically with customizing Appointment window where i can add additional fields to the appointment advanced insert/edit window.


 

Server Error in '/Apps' Application.

Value cannot be null.
Parameter name: expression

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: System.ArgumentNullException: Value cannot be null.
Parameter name: expression

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:

[ArgumentNullException: Value cannot be null.
Parameter name: expression]
   System.Web.UI.DataBinder.Eval(Object container, String expression) +8660271
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.GetAppointments(RadScheduler owner) +1923
   Telerik.Web.UI.RadScheduler.PerformSelect() +299
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.RadScheduler.EnsureDataBound() +93
   System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
   Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e) +36
   Telerik.Web.UI.RadScheduler.OnPreRender(EventArgs e) +131
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842



























Thanks in Advance,

K RAMU
Peter
Telerik team
 answered on 01 Dec 2009
1 answer
166 views
Hi,

I am using Q2 2009 version. 

Can you please click on the following click. In this link country word is diaplayed on each entry.
http://demos.mcmscontrols.com/ASPNET/Grid/Examples/Programming/GroupBy/DefaultCS.aspx.

Similar to this example, in my page there is word "Title:" which is displayed on each entry. How to remove this word.       

E.g     Title: Abc
           Title: XYZ
           Title: Test.

Please give me the solution ASAP.

Regards

Gaurish

Yavor
Telerik team
 answered on 01 Dec 2009
1 answer
78 views
Problem:
If there are about 15 appointments at the same time and we need to show all the subject of appointments in weekview, we cannot achieve it. Please see the attached snapshot.

Is there anyway we can customize the column for weekview?

I've tried with ColumnWidth but it is affecting all the columns as well as the columns where there is no appointment. So I need the column to be wider where there are multiple appointments and can show the subject (in a readable form).

Please help us as this is very important for our client.

Thanks
Rajesh
Peter
Telerik team
 answered on 01 Dec 2009
3 answers
283 views
Hello,

   I m new to Telerik, wants to add the all sub items (LEVEL '1') as checkbox using RadPanelBar, also need to handle the Checkbox events when i am checking.

Sample code:

<

telerik:RadPanelBar runat="server" ID="RdPanelCategories" ExpandMode="SingleExpandedItem"

 

 

EnableViewState="false" DataValueField="CategoryID" DataTextField="CategoryName"

 

 

DataFieldID="CategoryID" DataFieldParentID="ParentCategoryID" DataSourceID="SqlDSCategories"

 

 

OnClientItemClicked="rdPanelCategories_OnClientItemClicked"

 

 

OnItemDataBound="rdPanelCategories_OnItemDataBound">

if i put the below code, adding add items in twise one is normal text and another is checkbox including Root, but i dont want that...

 

<ItemTemplate>

<asp:CheckBox ID="chktest" runat="server" Text=<%#Bind("CategoryName") %> />

</ItemTemplate>


Regards,
Suresh Kannan P

Shinu
Top achievements
Rank 2
 answered on 01 Dec 2009
2 answers
161 views
I am trying to enable/disable a button within a RadPanelItem however the .findControl() method is returning null.

I can find a Telerik control placed right next to the button just fine.  What the heck is going on here?

Here is the javascript I am using to get access to the controls.

 

var panel = $find("RadPanelBar1");  // PANEL

 

 

var pItem = panel.findItemByText("Record Details"); // PANEL ITEM

 

 

var lstBasis = pItem.findControl("lstBasis"); // Rad list box is found
var
btnUM = pItem.findControl("btnUnfundedMandates"); // BUTTON IN THE PANEL ITEM IS NOT FOUND

 

Robert
Top achievements
Rank 1
 answered on 01 Dec 2009
2 answers
89 views
Hi,

We get an error when we try to implement this functionality:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Object reference not set to an instance of an object.

Source Error:

Line 15: 
Line 16: <custom:MyCustomFilteringColumn DataField="SGSContactName" FilterControlWidth="180px" HeaderText="Custom TemplateColumn SGSContactName">
Line 17: <headerstyle width="25%" />
Line 18: <itemtemplate>


Is there a class in our version, we are using ASPNET Ajax Q1 2009.

Thanks

Kartik
Pavlina
Telerik team
 answered on 01 Dec 2009
1 answer
204 views
The zone renders in rendering with an inline style and a min height of 10 and min width of 100 %.

How do I remove this or make the min height 100 %?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 01 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?