|
|
Browse by Tags
All Tags » esDataSource
-
I'm a little lost, you talked about load by primary key, but your esSelect event you posted is loading an entire collection? Another point, we load the collection for you assuming you have autopaging on both the esDataSource and the GridView. I would start by comparing what you have against some of our esDataSource samples in our FAQ forum or the ...
-
hi,
I can't delete a row in my gridview.
Code:1 protected void Page_Load(object sender, EventArgs e)
2 {
3 if (!this.Page.IsPostBack)
4 {
5 CountforPager();
6 }
7
8 }
9
10 protected void CountforPager()
11 ...
-
Hi there,
I've got a GridView being bound to an esDataSource on a page. what I would like to happen is the data source to retrieve data from teh database only when certain conditions are met elsewhere on the page. Now if I was using a SqlDataSource, I would handle its Selecting event, check the conditions and then call Cancel() if they ...
-
Hello all:
I'm sorry, but I'm still having a problem that I've had from the very beginning. I've basically duplicated your setup except for the table I'm using. I've got the same code in the form and the code behind file. All I want to do is edit a row in the table. I click on the Edit button. The row goes into ...
-
Thanks for your help, however my grid is still showing multiple pages even though the search query returns only a few values. I surfed through the forum and tested several variations, but without sucess...Here are 2 examples of what I tried (for reference, I placed this under line 20 of the ES_Select event - please see original ...
-
Es Version: 2007 / MyGeneration version: 1.2.0.7/ Database Version: SQLExpress
--------------------
I'm trying to create a search solution for my web application. The search is working fine, but I still have 2 issues I couldn't solve:
1- Paging is still ''working'' even if the search returns only one record. It seems the ...
-
Thanks for the prompt response!!! I'm impressed!!!
Your suggestion worked right away! Thanks a lot!
-
I successfully used the EsDataSource to bind Gridviews, DetailViews as well
as editing, selecting , deleting and inserting data. I even got to configure
paging, but sorting is giving me a headache...
After reading several different threads and trying different things, I
decided to ask for help. Here is what I have:
Code in the ...
-
Hi ,
I am using Design time binding with ES Datasource.
protected void EsDataSource1_esSelect(object sender, EntitySpaces.Web.esDataSourceSelectEventArgs e)
{
ResourceCollection coll = new ResourceCollection();
coll.Query.es.Top = ...
-
In VS2005, I have been working with the esDataSource events, trying to handle entity validation during my overridden Save method. During my save method, I test the entity with a property IsValid and throw an exception if the entity is not valid. How can I get the exception in the entity to bubble up to the esDataSource events? What mechanism ...
-
Check out this blog post for an overview...
|
|
|