473,545 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ultrawebgrid binding to existing columns

Joe
I've been playing with the infragistics ultrawebgrid and I'm trying to
do something that seems like it should be a piece of cake.

I want to setup the columns, select a datasource and bind it
programmaticall y.

The way the example shows how to do it, is by looping through the
data. Which is fine, but I want the user to select different options
which can change the columns being displayed as well as the datasource
used to populate the datagrid. So, I'd prefer to set the columns and
then just bind the datagrid to which ever datasource I want.

I was doing this with the asp.net datagrid, but there are features
that the Ultragrid has that I'd like to use. I've also tried setting
it up like the asp.net datagrid. I set up the columns, enter the
datasource and then bind, but I get no data. If I autogenerate the
columns, it works, but I get a lot of data that I don't need.

I hope this is enough information to get some help. Thanks.

Joe
Nov 18 '05 #1
1 5333
Why don'y you hide the columns you don't want to be displayed, if you
are binding them all change the hidden property to true for ones you
don't want to display.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 18 '05 #2

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

Similar topics

0
2783
by: Pablo | last post by:
I am using the UltraWebGrid de Infragisitics, I inserted a column of Hyperlynk type, but how the URL is placed this.UG1.Bands.Columns.Type=ColumnType.HyperLink;
0
1432
by: Glenn Engelbart | last post by:
I am trying to find out a way to get more code re-use & object orientation in the UI portion of my apps. (There already is plenty of both in the DataAccess & Business Logic portion of my apps. But the code behind in each aspx page is huge, often 1000 lines. My apps are heavilly data driven, like the old client server apps with tons of...
4
1967
by: Alan Silver | last post by:
Hello, I'm trying to use an ArrayList to do data binding, but am getting an error I don't understand. I posted this in another thread, but that was all confused with various other problems, which could be why no-one answered it!! I've now narrowed the problem down, so am starting a new, more specific, thread. Sorry it's a bit long, but it's...
0
4787
by: JSantora | last post by:
Essentially, InsertAT is broken! For the past couple of hours, I've been getting this "Parameter name: '-2147483550' is not a valid value for 'index'." error. Apparently, its caused by having manually inserted a row in the table bound to the Combo box. The InsertAt Method of adding a row just does not work. Hope this helps anyone with...
4
4603
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box bound to a table as a lookup, drawing values from another table to populate the available selections. This all worked fine in VB6. I have...
0
1920
by: Joxie | last post by:
Hi, All! Recently I'm using ultrawebgrid for my projects... While I try Ultragrid (for windows application) I could call printpreview as ultragrid function, but while I'm using Ultrawebgrid (for asp.net/web application) I can't find the printpreview... So, the question is: Is there a way for me to use printpreview for Ultrawebgrid (just like...
0
3133
by: kaytejt | last post by:
I am trying to create a link to dynamically open a website that will bring some of the information from the ultrawebgrid over to another .aspx page. I am having problems in 1. trying to access the invidual row in the datagrid as a whole and 2. getting the values in the cells. Any suggestions? The code is below. My Javascript:
0
4616
by: ivan.nasci | last post by:
Hi, I'm facing a strange problem. with the following code* the DropDownList is not visible, it shows the value but it doesn't show the box design. My question is how can I configure the box to show it in Enable view state, without do double Click? Thanks. Ivan.
0
2140
by: Deshi | last post by:
Hi, I Binding data to textbox of templated column for UltraWebGrid of Infragistics controls, but it through an error 'Infragistics.WebUI.UltraWebGrid.CellItem' does not contain a definition for 'DataItem' Does it not possible to use TemplatedColumn for UltraWebGrid?
0
7484
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...
0
7675
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. ...
0
7928
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...
1
7440
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...
0
5997
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...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
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...
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
726
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...

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.