Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Forms Data Controls :: Listview Increase Space Between Columns


I know this might be a trivial question but I can't find how to do it...

I want to increase the space between the columns, there barely is any space, the columns are just very near each other...


View 2 Replies (Posted: Jan 09, 2011 10:33 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Forms Data Controls :: Increase Dataitems In Listview?
i have a list view , which displays 10 dataitems at a time?

i want to increase it 25?

Posted: Aug 12, 2010 03:50 PM

View 1 Replies!   View Related
Forms Data Controls :: How To Eliminate Space Between Columns In Gridview
I set the CellPadding and CellSpacing properties to 0 and BorderStyle to 'None' on my gridview.

I set up a hover event on the row so that the entire row is highlighted on mouse over. When this happens, I can still see a gap between the two columns.Am I missing a property setting here?

Posted: Aug 18, 2010 01:40 PM

View 2 Replies!   View Related
Forms Data Controls :: Changing Columns In Listview?
I have certain columns in my DataSource such as "ID", "StartTime", "EndTime", etc.I would like to present them a bit differently in the listview.for example, I want to present the "StartTime" and the "EndTime" in ("hh:mm:ss") form, and would like to show only IDs smaller than 10.I thought about writing the code in

protected void ListView1_ItemDataBound(object sender, ListViewItemEventArgs e)
{
}

I have no problem writing the conditions in code behind, but the question is:since the ListView1_ItemDataBound event handler is fired for every column, how can I know in which one I am concerned, and so which condition to use?for example, if it is a "StartTime" then I want to have (DateTime)item.ToString("hh:mm:ss"), but if it is "ID", I only want to check if ID<5.

Posted: Jan 08, 2011 11:43 PM

View 2 Replies!   View Related
Forms Data Controls :: ListView - Make Columns Sortable With DataSet?
I'm using ListView control and binding recoreds with DataSet. How could I make colums sortable with DataSet.

Posted: Nov 17, 2009 10:04 AM

View 1 Replies!   View Related
Forms Data Controls :: Restrict Repeating Of Certian Columns In Listview?
I have a forum like page ( vBulletin like page). There are mainly two columns involved. User and Decription. The page looks like this


User Description

-----------------------------------------

userpic Subject

username Description

Download link

-----------------------------------------

user pic Subject

username Description

-----------------------------------------

user pic Subject

username Description

-----------------------------------------

In it , userpic, username, subject and descriptions are to be repeated every time. I used listview for this.. But the column 'download link' is to be used at once only in the first post ( of thread author). So, how can I achieve this. I am using asp.net 3.5 and sql server 2005.

Posted: Feb 27, 2010 08:35 AM

View 4 Replies!   View Related
Forms Data Controls :: ListView - Display Data With Repeated Columns
1- how can i display data with repated columns like i can do in datalist

2-im give it a datatable as datasource so im handling Next-Prev button dayinamicly but its works fine with linkbutton only image button cant accept that

Posted: May 23, 2010 06:17 PM

View 3 Replies!   View Related
How To Increase The Space Between Menu Items
I want to increase the space between Menu Items?-

[Code]....

What the above Properties means?I also want to apply CSS to my menu for designing purpose?

My output is coming in the folllowing way(first image) I want the output desired(second image)

Posted: Dec 1st, 2009, 12:33 PM

View 2 Replies!   View Related
Forms Data Controls :: Create Header For Top Of Each Listview Or Datalist Repeated Columns?
i have a datalist .

i used an object datasource to show data in datalist .

and my datalist have two or more repeated columns .

how i can make header for top of each column ?

not for each item and not for each row .just for each column .?

Posted: Aug 27, 2010 10:11 AM

View 1 Replies!   View Related
DataSource Controls :: Add Space Between Columns
IamSELECTING two columns:

SELECT ([FirstName] + [LastName]) AS [FullName], UserID WHERECustomerID =@CustomerID

I would just like to knowif there is a way to add a space between the two columns in the select statement.

This SqlDataSource Binds to a DropDownList so TextValue = "FullName" and DataValue = "UserId"

but of course, the way it is now the fullname is all one word.

Posted: Mar 03, 2010 02:50 AM

View 3 Replies!   View Related
DataSource Controls :: How To Mack Space Between Columns In Sql Query
I creat a Family Website and i use Dataset to get Family members from sql databace.

Inmy databace i have MemberID, Name, MiddleName and Last Name.

I want also return the Member FullName and i use this Query to return the members from database table:

SELECT MemberID, ParentID, Name, MiddleName, LastName, Name +MiddleName + LastName AS FullName

when we have Name="Jon" MiddleName="" Lastname="Smith" it return JohnSmith

my only problem is how can i get space between the Name MiddleName And Last name like "Jon Smith"

Posted: Mar 14, 2010 05:15 PM

View 2 Replies!   View Related
DataSource Controls :: Replace All Null Value With Space For All Columns In A Table?
I am trying to replace all null value with space for all columns in a table.

(note: just we have to pass parameter table name "XYZ" result will come aotumaticly, we dont need to bother about column name)

i have done it through C# application. butlove to do it through Sqlserver only like using storeprocedure, function.

my C# code is like that

[code]....

Posted: Jan 08, 2010 06:13 AM

View 6 Replies!   View Related
SQL Reporting :: How To Adjust The Space Between The Group In Simple Chat (columns)
I am using the BI 2005 to create the report. I'd like to know how to adjust the space between the group (on X-axis) since those are so close together.I'd like to spread it out a little bit. I am trying to display the values group by month by category. For example, values in Jan through Dec in categoryA, Jan-Dec in CategoryB, and I'd like to more space only between the Group A and Group B but not months within categories.

Posted: Oct 03, 2009 06:00 PM

View 2 Replies!   View Related
Forms Data Controls :: Can Set Columns To A Datagridview Like Datalist Property Builder Columns To List Datas
I need to list datas in grid view in 2 column order like a datalist property builder columns number

Posted: Jul 10, 2009 10:00 AM

View 1 Replies!   View Related
Forms Data Controls :: Create An ASP Grid With Dynamic Columns With An Ability To Freeze Columns And Rows
I created a gridview that is made up of 4 gridviews and using a stored procedure to populate it. I create columns at runtime because the number of columns changes all the time.To make the grids editable I am adding template fields at runtime as I create the columns, this is to ensure that a user is able to edit the cells and some foot values update. Reason why I have four grids is to freeze rows and columns like in excel using javascript. The problem is that performance is very bad especially in IE, the grids take a long time to load. I am not sure if this is caused by the data load or the creation of text boxes. see some of the code below for my _aspx page:

[Code]....

Posted: Sep 20, 2010 08:06 PM

View 1 Replies!   View Related
Forms Data Controls :: In Page User Able To Select Gridview Columns And It Will Hide Remaining Columns
in asp.net page user able to select gridview Columns, and it will hide remaining columns and that selection done by check box with column list bellow is Image link , what exactly I am looking for [URL] it look bellow after selection of column done [URL]

Posted: Mar 18, 2010 02:24 AM

View 1 Replies!   View Related
Forms Data Controls :: Using Eval To Get Data Bound Values From Outer Listview In Nested Listview Sample Case?
i need to get data-bound itemsfrom outer listview to display in inner Listview,in this scenario:

[code]....

Where the higlighted text mean the title for outer datasource.

Posted: Jul 06, 2010 08:06 PM

View 3 Replies!   View Related
Web Forms :: Menu Image Length Increase On Website Increase?
i am working on my master site, and i want to add an image that increases its lenght as the website's length increases...

but im not sure how to do that, i know it's possible because i've seen it done on banners, but im not completely sure how to do it.

Posted: Jul 27, 2010 03:49 PM

View 3 Replies!   View Related
Forms Data Controls :: Change The ListView Template Based On A Value In The Listview Data
I am simply trying to change thelistView template based on a value in the listview data.I do have this displaying the information correctly. Except when I try to change the item template based on a value in the listview. My code is below ....

Posted: Jan 14, 2010 10:11 PM

View 6 Replies!   View Related
Forms Data Controls :: ListView SmartTag / Configure ListView Option Missing?
I have a ListView, I've setup to use an ObjectDataSource, I've created my Layout and Item templates, and I'm able pull and view a list of my data no problem. However I want to add delete capabilities to my
ListView and my reference material tells me to go into the "Configure ListView..." option under the ListView's smart tag, the only problem is I don't have that option, the only three options in my smart tag are "Choose DataSource", "Configure DataSource..." and "Refresh Schema", what am I doing wrong?

Posted: Feb 04, 2010 07:21 PM

View 7 Replies!   View Related
Forms Data Controls :: How To Push Down Outer ListView From Nested ListView Control
I have anested ListView control. I also implemented a jQuery to automatically expand the TextBox control inside of the nested ListView Insert Template. The problem is, when the Textbox expand, the outer ListView control is not; therefore, the Textbox control expands underneath the buttons of the outer listView control. How do I expand the outer ListView control as the nested ListView textbox is automatically expand? One great example is in Facebook where if I add a response comment, it'll automatically push any comments below mine down. If nested Listview control is not the best way to do this, what are my options?

Posted: Mar 13, 2011 12:02 AM

View 8 Replies!   View Related
Forms Data Controls :: Listview - How To Create A Dynamically Templated Listview
Does anyone have an example for how to create a Dynamically Templated Listview with prefernces page to specify which columns & column order)? Also the listview would also have Edit, delete and insert options if possible. And uses the n-tier approach with Bus Layer and does NOT use LINQ.

Posted: May 11, 2010 06:17 PM

View 1 Replies!   View Related
Forms Data Controls :: Enable Alternative ListView (LV2) If ListView (LV1) Is Empty?
Is there any way to enable alternative ListView (LV2) or any other control in case when ListView (LV1) returns no records from DB? I already have emptydatatamplate designed for this case, but I need to enable a new ListView belowin this particular case and I don't know how to achieve this!

Posted: Jan 06, 2011 05:07 PM

View 2 Replies!   View Related
Forms Data Controls :: How To Datbind A Listview Which Is Inside Another Listview InsertItemTemplate
I try to datbind a listview which is inside another listview InsertItemTemplate.

[Code]....

I'm binding the listivew in the parent listview onitemcreated events. I receive the error Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

Posted: Sep 30, 2010 03:52 AM

View 4 Replies!   View Related
Forms Data Controls :: How To Grab Parent ListView ItemTemplate ID From Nested ListView InsertTemplate
I have two ListView controls, one is nested inside the other. On the nested ListView control InsertTemplate, I need to grab an ID (let's call it CommentID) from the parent ListView ItemTemplate for inserting new record that is based on the parent ListView's ItemTemplate CommentID. Without this CommentID, any responses in the nested ListView to a comment (parent ListView control) will not go together.

Posted: Oct 20, 2009 12:51 PM

View 22 Replies!   View Related
Forms Data Controls :: Way To Increase The Width Of This Particular Column
In agridview, i have a column whichdisplays an Amount. the amountdisplayed can be negative / positive.Whenthere isa negative value, suppose for eg, the amount is -15000, in the gridview it showsis there a way where i canincrease the widthof this particular column.

Posted: Feb 08, 2011 02:51 PM

View 2 Replies!   View Related
Forms Data Controls :: Display A Nested Child ListView On PostBack While Using DataPager On Parent ListView?
I am having trouble finding how to solve the following issue :

I am using nested listviews to display Sales and Sales details.

The main ListView displays General Information about Sales and the child ListView displays the detailed information about one sale. the child listview is shown only when the user clicks on a link (see included code, DataBind is made on PageLoad) :

ASPX Markup Code :

[Code]....

C# Behind Code :

[Code]....

If I removed the datapager part, I can manage show/hide the child list view on the button click event. but if I want to use the DataPager with the PreRender event handling, the child listview is not longer shown on button click.

Posted: Aug 26, 2010 01:20 PM

View 8 Replies!   View Related
Forms Data Controls :: Nest One ListView Inside Another ListView?
how to nest one ListView control another that uses SQL DataSource control? For example, the parent ListView1 control uses SqlDataSource1 to display all the Comments. The child ListView2 displays all the responses according each comments by using another SQLDataSource2 control.

Posted: Oct 15, 2009 07:07 PM

View 44 Replies!   View Related
Forms Data Controls :: Referencing A Nested ListView In A ListView?
Ok, background first:

The form allows a user to create and edit one estimate.

Each estimate can contain multiple Jobs, which are represented in a ListView.

Each Job can contain multiple Parts, which are contained in a ListView that sits in each item of the Jobs ListView.

A user can add and remove as many Jobs as they want.

A user can add and remove as many Parts to/from each Job as they want.

I have no issues adding to each of these, but I do have a problem removing a single part from a single job.

For a reference, here is one Job in the Jobs ListView on the form:

I want to make sure that no matter what a user does, the part of the form they are working on saves what they have. Removing a row from that Parts ListView is no exception. What I want it to do is save the values in each of those textboxes and then delete the necessary row.

Here's what I have in the codebehind:

[Code]....

The EstimateRow variable I create does not get a value from theListView)HFERID.Parent.FindControl("LVEstimateRow") bit of code. There must be another level of nesting that I'm not accessing correctly, because it can't seem to find that nested ListView.

Posted: Aug 17, 2010 01:55 AM

View 5 Replies!   View Related
Forms Data Controls :: Get Datakey Of Outer Listview From Inner Listview?
Ihave a datakey defined on my outermost ListView. When I click on a linkbutton in a rowin this listview, the second listview is displayed. This inner listview hasseveral controls andalso a linkbutton. When I click this linkbutton, it gets handled by its own event; linkbutton_click. In this event allthe data is collected from the innermost listviews' controls, and sends it to the database. The onlything I need within this event is the datakey from the outermost listview.

Posted: Sep 20, 2010 01:57 PM

View 6 Replies!   View Related
Forms Data Controls :: Checkbox In Listview Layout Template Check Select All Checkboxes In Listview Itemtemplate?
how to do this when the checkbox in listview layout template check select all checkboxes inlistview itemtemplate.I dont give 'Eval 'field to checkbox present in itemtemplate.

Posted: Sep 10, 2010 06:51 AM

View 3 Replies!   View Related
Forms Data Controls :: How To Increase The Column Width According To The Data
I have data in GridView.

Id FirstName, LastName, Description

1 first last aaaaaaaaaaaaaaaaaaaa

2 first last rewioruiuw

If the column Description of less than 10 characters, increasing the width of columns for as many times as the text.

Posted: Oct 04, 2010 11:13 PM

View 5 Replies!   View Related
Forms Data Controls :: Listview Inside Listview?
How to handle the itemcommand event for the inner listview, here is my code:

[Code]....

Posted: Feb 17, 2011 10:00 AM

View 2 Replies!   View Related
Forms Data Controls :: How To Increase The Width Of The Td In Gridview Table
I have tried to increase the width of the td in Gridview table. I have tried the Headerstyle width, itemstyle width, CSS class. nothing works so far.

does not matter what width I set up, thewidth of the column remains the same. Itreally drives me madnow.

Posted: Jul 14, 2010 02:42 PM

View 3 Replies!   View Related
Forms Data Controls :: Increase SQL Timeout On Gridview Databind?
Getting the following sql timeout on a page System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

GridView1.DataBind();

While I know I need to review the actual Stored Procedure used, can someone point me to a quick fix to increase the timeout on the databind.

Below is my datasource

[Code]....

Posted: Sep 16, 2010 08:04 AM

View 1 Replies!   View Related
Forms Data Controls :: Increase The Rows Of Gridview Dynamically?
recently i am working on gridview.The problem that i have been facing is that i need to insert textbox in gridview and row of gridview need to be automatically incremented as per user input.Therfore,can anyone help me out from this problem?

Posted: Dec 15, 2009 09:43 AM

View 4 Replies!   View Related
Web Forms :: How To Add Multi Columns In Dropdownlist Or Listview
i want to display two columns of a table in a single dropdownlist or a listview.

india ind
pakistan pak
australia aus

these two columns should display at same control which comes from same table...

Posted: Jul 06, 2010 05:39 AM

View 6 Replies!   View Related
Forms Data Controls :: Increase Column Width Of Address In Gridview
I have this lastname column and address column. The address obviously is longer so it makes the gridview to increase its height which I don't want to happen. What I want is to increase the column width of the address in gridview that will suit the long text inside it. How could I do it in C#? Currently this are my codes:

C#
[Code]....

CSS
[Code]....

Posted: Jul 09, 2010 03:45 AM

View 11 Replies!   View Related
Forms Data Controls :: Increase Page Size Of Gridview With Dropdownlist Box
I have a gridview which can have 100 to 10000 records, I have used custom paging to view 10 records per page, This custom paging works fine when next is pressed. My problem is the user wants to see 100 records per page, hence I increased the pagesize value, But this takes a lot of time of 100 or 200 records are selected as the size. although it works good for 10 or 20.I will explain my custom paging and dropdown select code: when each time next button is clicked, I fill the dataset with only needed 10 or 20 or 100 records by giving the startrecord, maximum number of records

dataadapter.Fill(dataset,StartRecord,MaximumRecords,tblname).

In the data adapter, i have written query likeSELECT * from tblname order by column_name asc The same has been done for dropdown select with mentioning the page Size which it wanna increase... My question is Why it takes time for 100 or 200 records ? (I konw the size is big)Am I doing anything wrong in the query statement by selecting SELECT?

Posted: Sep 17, 2009 09:18 AM

View 7 Replies!   View Related
Forms Data Controls :: DropDownList Binding - Ways To Increase Speed?
I have a gridview that displays query results on a reporting page for a "home-grown" CRM application. From the gridview, a link can be clicked which opens a modal window that contains an iframe linked to a "details" page where record specific info can be viewed/altered. On the details page there are 10 or so dropdownlists (ddls) that are boundevery timethe page is called. The ddls are bound using a methodsimilarto the example below. I am looking for a way top speed things up a bit. The details page could be called 10-20 times in one session and every time the page loads these ddls have to be bound from the same methods but for different records. What are some options for speeding up the load time for this page??

[Code]....

[Code]....

Posted: Oct 20, 2010 01:24 PM

View 6 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved