Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:686102
More Search Options
RSS Available
Matching Posts
Keeping FormView values after insertion fails
I have a FormView that I use to insert data. What I want is to keep values in the FormView controls after insertion fails. I have tried many ways but I always get empty controls in the FormView. The only way I can keep the values is setting e.Cancel = true in OnItemInserting event handler, but by that I am not inserting anything at all!
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 10/7/2008
Re: Invalid report file path
Any ideas?
Posted to
Crystal Reports
(Forum)
by
ashraf_gawdat
on 8/20/2007
Re: Invalid report file path
I have the same problem, and the idea is that I don't have a rpt file. And if I must have such a file, what is the use of SetDataSource() method if the datasource will be defined in that file?
Posted to
Crystal Reports
(Forum)
by
ashraf_gawdat
on 8/19/2007
Re: Control in GridView could not be found
No, I can't update using the above code. As I mentioned this is using SQL 2005 express, but when using SQL 2000 it works fine. Is the way I connect to the database has an effect? I connect to SQL 2005 express using windows authentication but connect to SQL 2000 using SQL authentiation. Is using different edition other than express edition (such as developer edition) will differ? The problem is that I can't test that because I don't have any other edition right now.
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 3/27/2007
Re: Control in GridView could not be found
I was working on sql server 2005 express, but when I used sql 2000 it worked fine! What could make it not working in sql 2005?
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 3/26/2007
Re: Control in GridView could not be found
This is not the problem now, the problem is that I can't update any thing in the gridview at all. I've taken care of every note I found in this issue on the internet: Set the DataKeyNames to the primary key field, set ConflictDetection to OverwriteChanges, and also I made it in the simplest way and didn't change the default textboxes in the edit mode, I even left the gridview columns as bound fields and didn't change them to template fields. But always the same result: No update at all !!! No update
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 3/26/2007
Re: UPDATE/DELETE not working in Data Controls
It seems that the solution is just setting ConflictDetection to OverwriteChanges instead of CompareAllValues. But that is not the problem in my case, because I've already set it to OverwriteChanges but still no updating happens. I've been searching for a solution for 2 days now but found nothing usefull, all the solutions I found didn't help me. It seems that I'll throw the datagrid into the trash and do the work manually.
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
ashraf_gawdat
on 3/25/2007
Re: Control in GridView could not be found
But how can I access the ClientID property inside the ControlParameter? There is no way to do that. On the other hand I tried to get the ClientID of the control manually from the HTML source of the page, and placed it in the ControlID property in the ControlParameter, but still have the same error. The only soliution I found after searching is to remove the ControlParameter completely and use use only a Parameter control with its name set to the DataBound field. But the problem is that I used ControlParameter
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 3/25/2007
Control in GridView could not be found
I'm using a gridview to show, update and delete data. I placed a DropDownList in EditItemTemplate in one TemplateField and assigned its ID to 'ddlEducationDegUpdate'. Then in the UpdateParameters I placed a ControlParameter with ID 'EducationDegID' to select the value to update from the above DropDownList, and assigned the ControlID of the ControlParameter to the ID of that DropDownList. But when I click Update in the edit mode I get an error that says: Could not find control 'ddlEducationDegUpdate
Posted to
Data Presentation Controls
(Forum)
by
ashraf_gawdat
on 3/25/2007
Re: Log the user out without LoginStatus control
This worked fine with me. I made a new page and named it LogOut.aspx and called this method in the page load event and then redirected the user to the login page. The user signed out successfully. Thanx for the answer.
Posted to
Security
(Forum)
by
ashraf_gawdat
on 2/4/2007
Page 1 of 2 (15 items) 1
2
Next >
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online