Asp.net - RegisterPostbackControl In An AsyncPostback For Telerik RadGrid?

Jun 13, 2012

I have a RadGrid in a page which has a master page with an UpdatePanel wrapped round the Content. I have successfully run RegisterPostbackControl for the Export buttons on it on first load, thus:

[Code]...

View 1 Replies


ADVERTISEMENT

Asp.net - Update Telerik ComboBox And RadGrid?

Nov 2, 2011

I have inherited an application that uses telerik controls. This is my first time to work with it and I'm a little confused.I have a RadComboBox that has its values hard coded. When the user selects an item, a RadGrid is refreshed to show the records that correlate with the item the user selects from this combo box. This all works great.I'm trying to create link buttons, so that when the user clicks on one, the RadComboBox value is changed to whatever value I set it to in the codebeind page and the RadGrid is refreshed to show the appropriate records.I can set the value of the RadComboBox, and see what value it has when debugging, but the RadComboBox in the browser does not reflect the change and the RadGrid is not refreshed when I programatically execute the event handler for it.

View 1 Replies

Asp.net - Cancelling The Keypress [Enter] Action On A Telerik RadGrid

Feb 7, 2012

I have a Telerik Radgrid containing all the valid usernames and passwords that can be used to unlock functionnalities on my web page. The password is encrypted, so you have to click the row to decrypt and show the actual password. All usernames and passwords can be changed by an admin When the admin presses [ENTER] to submit the new username/password combination (instead of pressing the submit button), the new combination is actually submitted (which is fine).

[Code]...

View 1 Replies

C# - Telerik RadGrid Set BoundColumn To ReadOnly In Edit Mode?

Jan 8, 2012

I have a Telerik RadGrid that has three bound columns and one button column. I would like to let the user edit the values in only one of the bound columns. The user can add a new record so i can't set the two bound column to read only. Is there anyway i can do this in the ASPX or do i have to do it in the code behind? I have some code that is working but it is not the best.Here's my code:

Case "Edit"
Dim aoeAnswerCode As GridBoundColumn = CType(e.Item.OwnerTableView.GetColumn("aoeAnswerCode"), GridBoundColumn)
aoeAnswerCode.ReadOnly = True
Case "Update", "PerformInsert"[code].....

View 2 Replies

Access Changed (via GridDropDownListColumnEditor) Values Of A Telerik RadGrid Server-side?

Jul 9, 2010

I'm basically trying to implement the functionality of the example here ax/grid/examples/dataediting/editondblclick/defaultvb.aspx) on my own site, but instead of using a data source control located in the page markup (like in the example: essionDataSource), I'm using a dataset that I get from some server code-behind. I am able to successfully get my double-clicked row into edit mode with my dropdowns successfully

View 2 Replies

Asp.net - Redirect To Two Different Pages In Radgrid Using Two Command Buttons Inside Radgrid?

Apr 23, 2012

I have a radgrid1 and inside radgrid Item template i have two asp.net imagebutton namely imagebutton1 and imagebutton2 .... i want when i click on Selected radgrid Item whose id is id then after clicking on Image Button1 i redirect to ~/book.aspx?id=1 and if i click on imagebutton2 then i redirect to ~/details.aspx?id=1 Note : the id of the item will be changed dynamically according to the selected radgrid row . I have already done it using simple Gridview but m unable to perform this action using radgrid.

View 1 Replies

.net - Dynamic ASP.Net UpdatePanel Contents Involking Their Own AsyncPostback?

Jun 24, 2011

I have a fully dynamiclly generated page that has a set of linkbuttons basically switching views in a UpdatePanel. All that is working great except for when I have a button that is generated that needs to invoke a function to manipulate the data in the Update Panel.

[code]...

So the problem is when the page_init is executed it does not know which linkbutton was selected so it never recreates the button and in turn never fires the event. I have seen people use the session to store the list of controls and/or the current frame but I don't see that as an acceptable solution. Surely there has to be a way to do this.Is there no way I can get the ScriptManager's current/previous step information outside of the Navigate event?Asp.net 4.0 with latest ajax toolkit.

View 1 Replies

Asp.net - NullReference On Object In Code Behind After AsyncPostBack Using UpdatePanel?

Feb 20, 2012

I'm building a simple game in an ASP.NET/VB.NET web app. The game has a UI made up of several ImageButtons. The web page's code behind file holds an instance to the game object which will manage each turn taken by players. Everything worked when the Game object's methods were Shared. The problem occurred after refactoring to make the game object work as an instance instead of a shared class. Now, when the action returns to the code behind, the instance of the game object is nothing.

The code bits:

Public Class _Default
Inherits System.Web.UI.Page
Private _gamePanel As Panel

[code]....

View 1 Replies

Radgrid And RadFormDecorator?

Aug 14, 2009

I have an ASP.NET application using the Telerik Q1 2009 controls. I have a masterpage, which has a FormDecorator control in the master page. In my ASPX page, I have a RadGrid, with the following definition:

<telerik:RadGrid ID="gridExclusions" runat="server" AllowPaging="True" AllowSorting="True"
GridLines="None" AutoGenerateColumns="False" PageSize="5">
<MasterTableView>

[code].....

View 2 Replies

Radcontrols Tooltip And Radgrid?

Jun 3, 2011

I am trying to replicate something like this demo http:[url]....using the radtooltipmanager and the radgrid but i get an error that default2 is not defined.here is my code

Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
If Me.IsPostBack Then
'GridView does not keep its items' IDs after postback, so rebind it or else tooltip manager will not show tooltips[code].....

View 1 Replies

Asp.net - RadGrid Doesn't Update After Postback

Oct 24, 2011

I'm doing a form to add/edit/delete values from a data catalog. everything goes fine but the Radgrid doesn't update after Submit Button is pressed in the edit/new dialog. i did it before in a more complex form but i can't figure exactly what's wrong.

in the update the data where the new data will be overwritten dissapears after postback. (i have a way to solve this)

mnlib is a library of my authorship to deal with common tasks i know that queries with strings like {$database_name} is not a standart practice, and probably is not recomended, but i have to deal with it . i'm doing almost everything programatically some of the code is ommited because character limit in post Updated: Reduced code, i'm afraid if keep reducing code, i will eventually delete something important to the iusse

ASPX file

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Templates/2Cols.Master" CodeBehind="lstCat.aspx.vb" Inherits="adquisicioneNET.lstCat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

[Code]....

View 1 Replies

C# - How To Deselect A Row In RadGrid For Windows Forms

Jan 23, 2012

I tried the ClearSelection method, it is deselecting the row but the selected cell is still highlighted

View 4 Replies

How To Read Multilevel Xml Bind To Radgrid

Jul 29, 2010

I am planning not to use Aspx for this 2) The node named Item would eventually change as per app Requirements. So, I don't want to restrict my xpath to something like "//Product/Item"..[code]I am reading this xml from codebehind and iterating through xmlnodes to display in the grid. Please find my snippet below:Dim root as new xmldocument() ' After loading the above xml into root..[code]I need the Columns: ItemID, ProductNo, indented Description with ManufacDate and ManufacID. I m not sure how to get this displayed.

View 1 Replies

C# - Exporting A Custom Excel File With RadGrid?

Jan 31, 2012

I can export my radgrid to an excel file but I want to add some more info into the sheet.If it is possible, I would appreciate for a tutorial/sample code for doing a custom excel file generation.

<tel:radgrid runat="server" id="mygrid" skinid="RadGrid_Search_Standard">
<ExportSettings HideStructureColumns="true" />
</tel:radgrid>

Grid is databound with some datatable and I need to add some data to add some strings above

mygrid.MasterTableView.ExportToWord()

View 3 Replies

Passing The Value Of A Readonly Radgrid Column To A Stored Procedure

Nov 4, 2009

I have a radgrid bound to a SqlDataSource that includes a hidden, readonly column that stores a pk. I want to pass the value bound to that column to a stored procedure for Updates but the default behavior when the column is readonly is not to pass the parameter to the sqlDataSource. My question is whether there is a way to pass that value without having to go into the code behind. Here is a snippet of my asp markup.

<telerik:RadGrid ID="rgEmployees" runat="server" AutoGenerateColumns="False"
DataSourceID="sdsEmployees" GridLines="None" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true">

[Code]....

If I set readonly="false" on the It works fine but then the user can edit the primary key value which is not desired. I know work arounds in code behind but is there any way to do it straight in the markup?

View 2 Replies

RadGrid - Filter Textboxs, Any Way To Control Their Width Dynamically?

Sep 8, 2011

I have a RadGrid with a filtercontrol on it. The grid fits the size of the window, but certain views have quite a few columns and when the columns get shrunk down, the filter controls don't resize to fit. Is there any way to set those filter controls to auto fix within the width of the column?

View 1 Replies

Asp.net - Programatically Removing A Header Context Menu Filter From RadGrid?

Jul 13, 2010

I've got a repeater I've bound to column names that are filtered, as they're applied (using sessions currently, I might change this to loop through the columns looking for filters now that I really know how the grid works).

I've got a button next to each filtered column name that is to remove the filter from the RadGrid.

[Code]...

View 2 Replies

Telerik.web.ui Is Missing?

Oct 11, 2011

I am Telerik controls in my project, Error is telerik.web.ui is not found, Coudn't find assembly

I have added Telerik.web.ui.dll inside Bin directory

Reference Code is available inside web.config

View 1 Replies

Asp.net Telerik Text Selection

Mar 23, 2012

I have a telerik radgrid, like shown underneath [code]When I click one of the rows, it will display the password of the clicked row, like so:[code]That works fine. I am proceeding this way because the decryption of the password is a rather complicated and long process, so decrypting one password at a time is less time consuming, especially when the user doesn't need all the passwords.When I have the password displayed, I'd like to be able to select the password in the grid to copy it. Unfortunately, the radgrid will fire the "RowClick" item command once more, and the row gets de-selected. Therefore, I cannot copy the passwords. My question is: Is there a way to cancel the itemcommand of a radgrid under certain circumstances? I'd like to be able to disable the itemcommand event when the password is already decrypted.[code]

View 1 Replies

C# - PostBackUrl In RadPanelBar Telerik?

Sep 7, 2010

i would just like to ask.. how do i assign a postback url in my radpanel items in my master page

Eventually i have a MasterPage wherein i construct my radpanelbar.. and i have this Item Quiz with a child name Create What i want to achieve is when i hit the button Create in my radpanelbar it will make a

PostBackUrl="CategoryCreate.aspx?Quiz=True"show me how to do this and another question how do i manipulate the Create child in my RadPanelBar.. i have started this code shown below.. but i don't know what to do next to achieve my goal..

[Code]...

View 1 Replies

C# - Telerik RadComboBox Not Building?

May 20, 2011

I'm receiving a very peculiar Telerik error, I was wondering if any of you with Telerik experience had come across this one before.

I'm using a RadComboBox, when trying to build I get this error :

Method 'Protected Sub
ddlMyDropDown_SelectedIndexChanged(sender
As Object, e As

[code]....

It all runs as expected when I force run the project, but it won't build successfully or allow me to publish. The error message just doesn't make any logical sense.I've tried using System.EventArgs assuming that the Telerik event args derive from it. But still no success.

View 2 Replies

C# - Upgrading Telerik RAD Controls For ASP.NET

Jun 19, 2009

I go about upgrading the Telerik ASP.NET controls? I am currently using the Q3 2008 release and I just recently bought the Q1 2009 SP1 release. How do I upgrade my projects? Do I need to uninstall the old one and install the new one or just install the new one? Also how do my projects get upgraded? Also, what about my projects that I have "live"? Do I just need to upload the new DLLs and and change my web.config?

View 4 Replies

Form For Telerik RadRibbonBar?

Apr 25, 2010

I got the Telerik RadRibbonBar for free with the Express edition of vb a while back, but it did not come with any sort of form. It also, unfortunately, has the control buttons there automatically. How would I create a form which is resizable, and works like a standard winform, but doesn't have the top bar?I tried:

FormBorderStyle = Sizable
Text = Nothing
ControlBox = Falseady made for this.

[code].....

View 1 Replies

Telerik Text Selection?

Mar 27, 2012

I have a telerik radgrid, like shown underneath

| Username | Password |
-------------------------
| A_user | ***** |

[code].....

View 5 Replies

Asp.net - Telerik Rad Grid Button Caption

Apr 6, 2010

Is there a way to change the caption on a gridButton on a Telerik RADGrid (on a ASP.NET web page) , depending on another of the bound fields (in this case active) e.g if active = true text = "Disable", if active = false then text "Enable"

I have resolved the issue by iterating through the e.items on the databound event, but wonder if there a 'cleaner' method for doing this

View 1 Replies

Build Programmatically A CommandItemTemplate In Telerik?

Nov 7, 2011

I have a question about Telerik. I have a RadGrid where inside the MasterTableView I have a DetailTables tag (so I have a hierarchy) and I also have a CommandItemTemplate tag inside my MasterTableView tag. Everything is fine when it runs from markup, but I've tried to build this programmatically from code behind. Unfortunately I was not successful. Everything works, except that my CommandItemTemplate is nowhere.[code]...

View 1 Replies

VS 2008 - Using Telerik Controls / Tools

Sep 2, 2009

Anybody have experience with using Telerik controls/tools?

View 26 Replies

What Is Code For Selecting A Telerik Radiobutton

Aug 24, 2010

What code should I write to select a Telerik radiobutton?It doesn't have a .checked property.

View 2 Replies

Unwated Additional Row In Telerik Hierarchical Grid?

Dec 10, 2010

I've got a normal Telerik hierarchical grid with a child detail table. However when the items get bound in the master table there is an extra row between each item. It has a cell with the class "rgExpandCol". I suppose this has to do with the expand icon? I have run out of ideas...

Has anyone out there experienced this before?

View 2 Replies

.net - Telerik Version Of System.windows.text Code?

Jun 8, 2012

I want to have a partial class to manage my focus between radtextboxes when a user presses the enter key and I am looking for the telerik interpretation of this line of code tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)?

Partial Public Class MstFileTruck Inherits Form
Private tbs() As Telerik.WinControls.UI.RadTextBox
Public Sub New()

[code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved