473,769 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Command button inside data list item template

Dear Members

I am using a data list , in the item template i have used a data grid
with template column (CheckBox) and a button named sumbit.

I want to get the data grid selected rows(Makred checked) upon click of
sumbit button.

I am looking where to write code for sumbission button when it is being
used in item template??

Best Regards
Shahid Saleem
Best Regards
Shahid Saleem

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
1 2891
Have the button tie to an event passing in the SelectedIndex of the grid, or
even better the Key defined for that row in the view that the grid is bound
to.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Shahid Saleem" wrote:
Dear Members

I am using a data list , in the item template i have used a data grid
with template column (CheckBox) and a button named sumbit.

I want to get the data grid selected rows(Makred checked) upon click of
sumbit button.

I am looking where to write code for sumbission button when it is being
used in item template??

Best Regards
Shahid Saleem
Best Regards
Shahid Saleem

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3684
by: Luis Esteban Valencia Muñoz | last post by:
I have a datagrid that displays editable text fields (2 different price fields) and a checkbox in every row. It has a "SaveChanges" button at the bottom, which, when pressed, looks at every checkbox in the datagrid, if it is checked, it updates the corresponding rows prices. That works, no problem. What I need to do is that when a user clicks into either of the price text fields, the checkbox automatically checks itself. This will save...
0
1015
by: Adam Knight | last post by:
Hi all, I have two nested DataLists. When I click edit in the parent list the edit comand executes and the required Edit Item Template is displayed. The child list is display in the SELECTED ITEM TEMPLATE for a given parent list item. When I click edit for a child list item, the required function executes, the
1
2193
by: Shahid Saleem | last post by:
Dear Members I want to generate a Template using DataList and i want to user Grid control in the item template, is it possible. if yes need some explanation regarding data binding of grid control in the data list. Best Regards Shahid Saleem *** Sent via Developersdex http://www.developersdex.com ***
14
4972
by: Kevin | last post by:
A couple of easy questions here hopefully. I've been working on two different database projects which make use of multiple forms. 1. Where's the best/recommended placement for command buttons for things like delete, save, edit, cancel buttons - in the footer, or on the form detail section? 2. If in the footer, how do you add them to the tab order?
4
3783
by: yogitadesai | last post by:
Hi Group, How can I add a Command button inside a Listbox? I created a listbox and a command button on the form. now during the form_load event, I am trying to add command button to this listbox, but it does not work.. I am using VB 6. Since I am new to VB, can anyone help me in this regard.. Thanks in advance..
0
3428
by: Michael Shaw | last post by:
I am just starting out trying to create my first data access page (DAP) using Access 2000. I have created a default index.html page plus one other "Members" page. I have placed a command button on the index page which I want to use to jump to the second page in the same window. Using the MS script editor I've seen the stub code generated in the HTML for the OnClick event. It says to use either VBScript or Java to flesh out the event...
1
2391
by: Annyka | last post by:
I've got a button inside a Repeater control Item Template I'm doing a SQL insert using a SqlDataSource Control based on the RepeaterName_ItemCommand event, since the button in the template isn't available on the code behind file for a click event. After the SQL command has run, I'd like to post back to another page. When I set the PostBackURL property, it posts back before the insert is performed. Can I either:
1
10505
by: CoolFactor | last post by:
MY CODE IS NEAR THE BOTTOM I want to export this Access query into Excel using a command button on an Access form in the following way I describe below. Below you will find the simple query I am trying to export to Excel using a command in an Access Form. RowID strFY AccountID CostElementWBS 1 2008 1 7 2 2008 1 7 I want to...
2
894
by: Miguel | last post by:
Hello, I have a DataList with the results of a search. The ItemTemplate of the DataList is a Repeated template with all the records. I have a Link Button with a Command Name called Select that allows me to show the user extended information about the record. ( This view is the Selected Item template view ). Here I have a "Back" Button. ( an HTML "<a>" anchor ).
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.