all groups > asp.net datagrid control > recent posts
Buttonfield columns ?
Posted by Savvoulidis Iordanis at 4/24/2008 6:01:01 PM
I have a gridview based on a sqldatasource of 4 columns (c1,c2,c3,c4).
I only have 2 of them in the grid (c3,c4). I changed column c4 to be a
buttonfield so it is displayed as a link with the proper DataText coming
from the database. So far so good.
When this buttonfield column is clicked,
... more >>
Re: Create Filter/Serach Panel on Gridview Data
Posted by Gaurav Trivedi at 4/22/2008 9:08:33 AM
Hi
Thanks for the answer but I am not using SQLDataSource. I am just adding
Data in ArrayList from DataAccessLayer..
"DivineEquality" wrote:
> On Apr 17, 2:19 pm, Gaurav Trivedi
> <GauravTriv...@discussions.microsoft.com> wrote:
> > Hi,
> >
> > I am feting data from SQL Server 2005 da... more >>
Generic List bound to GridView
Posted by Andreas Hartje at 4/21/2008 6:35:22 PM
Hi there,
I have a little problem binding a list to a GridView. The List gets filled
with data from textboxes (via properties in class Person, see below) and I
want the grid to show each new set of textbox strings to show up as a new
row in the grid. i mahaged to do this by definig a little s... more >>
Re: Create Filter/Serach Panel on Gridview Data
Posted by DivineEquality at 4/20/2008 5:55:58 AM
On Apr 17, 2:19=A0pm, Gaurav Trivedi
<GauravTriv...@discussions.microsoft.com> wrote:
> Hi,
>
> I am feting data from SQL Server 2005 database by SP and populating ArrayL=
ist.
>
> After that I am binding that arrayList to GridView.
>
> Now I want to create search filter panel from that Gri... more >>
Extend Gridview
Posted by Terry Holland at 4/17/2008 2:50:02 PM
I want to create a custom server control that contains an extended gridview
(custom written) and a button control.
I have my extended gridview but Im not sure how to add another control ie
the button. I am not talking about adding a button column to the gridview
but adding a button outside... more >>
Create Filter/Serach Panel on Gridview Data
Posted by Gaurav Trivedi at 4/17/2008 2:19:00 PM
Hi,
I am feting data from SQL Server 2005 database by SP and populating ArrayList.
After that I am binding that arrayList to GridView.
Now I want to create search filter panel from that Grid. Like.
<http://www.circuitcity.com/ssm/Computer-accessories/sem/rpsm/catOid/-13011/N/20012961+20013... more >>
Creating a Search in Gridview from an Access datasource
Posted by Jay007 at 4/16/2008 6:17:00 PM
The Search includes:
A Field such as: AgencyType
An Operator such as: Equals or Like or Less Than
And a Value which is an item in the table like a word, or a number.
In the Submit button Event Handler, how would I go about using the
Accessdatasource.FilterExpression to do ta search like this?
... more >>
PagerStyle - Horizontal Align?
Posted by SpaceMarine at 4/15/2008 4:47:29 PM
hello,
is there a way to left-align the DataGrid's numeric paging thing?
currently it shows the links for pages on the right-side of the grid
table, which is problematic for very long grids that scroll off the
page.
i have tried setting the HorizontalAlign="left" property on the
PagerStyle... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Programmatically adding Datagrids to PlaceHolder
Posted by DanG at 4/15/2008 2:09:59 PM
I have a dataset with multiple "groups", and I want each group to
appear in its own datagrid. As I step through the code, it runs just
as I want, with the appropriate records being added to each grid, and
the grid goes into the PlaceHolder. I can even check the controls in
the placeholder to c... more >>
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:03:22 PM
GC.Collect() not cleaning memory, how to find out what references to lots of
memory still exist?
When all my processign is done i set everything to null and then:
GC.Collect();
and then
GC.WaitForPendingFinalizers();
but it still shows that my process takes 400 MB of memory. Is there any ea... more >>
Re: Filter SQLdatasource with dates.
Posted by Eliyahu Goldin at 4/13/2008 3:25:44 PM
Use ControlParameter for your datasource:
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.controlparameter.aspx
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Spencer Clark" <clarksc@musc.edu> wrot... more >>
Filter SQLdatasource with dates.
Posted by Spencer Clark at 4/11/2008 8:46:08 AM
Hi,
I have a gridview that a with dropdownlist filters. I want to add the
functionality filter between two dates. The easiest way that I see to do
this is use two textboxes with calender extenders. Here is my generic SELECT
command.
Select * FROM [table] WHERE date BETWEEN @date1 AND @d... more >>
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:16 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!!
How come? What can cause this?
... more >>
ButtonField
Posted by Terry Holland at 4/10/2008 5:18:02 AM
I am trying to create a custom control that is derived from GridView.
I will need to bind my custom collection classes to this control.
One such collection will contain have properties ID & Name. What I would
like is for the control to display the Name column as a link and when this
link is... more >>
dynamically gridview
Posted by BR at 4/8/2008 3:16:01 PM
hi
i strongly need to create a gridview dynamically, when i click to the button
in the aspx page works fine, but when i click to select a row in the grid
view, a postback is fired and the page is going to nothing, the info is
gone...
maybe i'm not handling correctly the postback event...... more >>
Internet - Take Advantage of Multiple Windows When Surfing
Posted by Visitbazaar Info at 4/1/2008 1:37:18 AM
--
Internet - Take Advantage of Multiple Windows When Surfing
SUMMARY: Stop jumping back and forth between index pages by using several
browser windows.
Why use one web browser window when you can have multiple? If you have an
adequate amount of memory, open up several web browsers t... more >>
Re: How can i update data GridView content?
Posted by sharonfongfong@gmail.com at 3/18/2008 9:59:47 PM
Here is my button click code, but it is not work
protected void ImageButton1_Click(object sender,
ImageClickEventArgs e)
{
for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
CheckBox chk =
this.GridView1.Rows[i].FindControl("CheckBox1") as CheckBox;
... more >>
How can i update data GridView content?
Posted by sharonfongfong@gmail.com at 3/18/2008 9:53:47 PM
HI, my data gridview have been connected to Web services(i use MySQL
database) and i had write a update method, i would like to use C#
code, when i click the checkbox and click the delete button, the
coloumn - "Status" , the "Status" content will be change from "In
Process" to "Cancel" , can any... more >>
Trading Forex
Posted by preet at 3/16/2008 11:15:02 PM
WHO WE ARE?
We are a partnership based in India and USA. We have a collective FOREX
trading experience of 4 years.We decided to start this venture with the
intent of helping people in India and other countries take advantage of
immense potential profits from the FOREX markets. We act as L... more >>
Re: Provide a click event and confirmation to a gridview on RowDataBou
Posted by Teemu Keiski at 3/16/2008 7:01:03 PM
Hi,
by appending confirm js call to it?
Something like:
e.Row.Cells[3].Attributes["onclick"] = "if(confirm('Are you sure?')){" +
Page.ClientScript.GetPostBackClientHyperlink(this.gvGrid, "MyCommand$" +
"value123") + "}";
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.asp... more >>
Dynamic BoundColumn
Posted by RN1 at 3/16/2008 12:36:38 PM
This is how I am adding a BoundColumn to a DataGrid dynamically:
--------------------------------------------------------------------------------
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Call AddNewColumn()
If Not (Page.IsPostBack) ... more >>
Re: Datagrid refresh?
Posted by Eliyahu Goldin at 3/16/2008 11:37:02 AM
This newsgroup is for web programming. You will likely find some help in a
windows form related group.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Volker Hetzer" <firstname.lastname@ieee.org> wrote in message
n... more >>
Gridview : toggle cell backcolor onmouseclick
Posted by lina at 3/15/2008 11:11:19 AM
Hello,
is it possible (without trips to the server) to change the backcolor
of a single cell in a gridview when the user clicks a cell (vbscript
on aspx). The user would thus mark all the cells needed and only then
the save button will run the server side code?
thanks in advance... more >>
Datagrid refresh?
Posted by Volker Hetzer at 3/14/2008 4:30:12 PM
Hi!
I'm rather new to windows programming, got VS2008/C# and am doing a winforms
application.
This application accesses a database (oracle) and displays the data in a data
grid control.
Now, when someone else changes the contents of the table., how can I make the
data grid refetch the data a... more >>
DropDownList In DataGrid
Posted by RN1 at 3/9/2008 5:41:12 PM
A DataGrid displays 3 columns from a database table - ID, Name &
Subject. When the DataGrid is in the editable mode, I want the 3rd
column Subject to a DropDownList so that users can change the
subject.
This is how I tried it:
------------------------------------------------------------------... more >>
Provide a click event and confirmation to a gridview on RowDataBou
Posted by tiptechno at 3/4/2008 9:07:01 PM
Could someone please tell me how to add confirmation when assigning a click
event to an attribute of a gridview cell durring rowbinding?
ie: this posts back the grid with the proper Argument and name, but how can
i have it confirm the postback via javascript first?
e.Row.Cells[3].Attribute... more >>
repeat header of gridview on every printout page
Posted by satnamsarai@gmail.com at 2/28/2008 9:45:34 AM
Is it possible to repeat header of gridview on every printout page? If
so, can you provide example codes? Thanks satnam... more >>
Re: Line Break In Template Column of Datagrid
Posted by Eliyahu Goldin at 2/25/2008 4:27:07 PM
Use <br />
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"hirdesh" <hirdesh26@gmail.com> wrote in message
news:d326081c-8ce2-40e2-9bb5-6062fc8cdf26@u10g2000prn.googlegroups.com...
> We have a multiline text area. N... more >>
Line Break In Template Column of Datagrid
Posted by hirdesh at 2/25/2008 2:14:12 AM
We have a multiline text area. Now suppose user enters a multiline
text along with enter key pressed for new line....eg
"Hi!!
How
are
you?"
When this data is displayed in the template column of Datagrid,these
line breaks disappears. Can anybody suggest me how to retain these
line b... more >>
problem facing for updation/save in asp.net/vb.net
Posted by Dhananjay at 2/19/2008 2:27:30 AM
hi all,
I am facing problem in updation/save with asp.net.because it has some
different type of requirements, that's unable to do.see first i have a
page(abc.aspx) on that i have placed link ( clicking link opens a new
page(xyz.aspx) with some controls like label, textbox,two buttons)
now on th... more >>
|