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:785268
More Search Options
RSS Available
Matching Posts
Re: Anomalous Behavior of the Button Control when used with FileUpload Control
Victim of cut and paste And, I hate to tell you how much time I spent looking at this. I did learn something, for some reason I thought they were one and the same! I did not realize tha onclick would setup its own delegate and effectively be a separate event being wired. It understand it but need to read more about it. Anyway, thanks for getting me out of the rut.
Posted to
Web Forms
(Forum)
by
aamador
on 6/14/2009
Anomalous Behavior of the Button Control when used with FileUpload Control
Hi guys, I was having trouble uploading a file to an application I am working on. The problem seemed to be that it got posted twice to my database! So I decided to divide and conquer. I created a simple test website where all I was doing was using a FileUpload control and a button. I downloaded the simple code found in the msdn library. You know the sample code that demonstrates how to use the control. This code allows you to select a file from the file system and put in a predetermine directory
Posted to
Web Forms
(Forum)
by
aamador
on 6/14/2009
Re: Another problem in postback
C'mon! We know it works I have many examples of this. I believe you need to debug your helper class for the answer. You can give it a try or post your helper class so we can debug it. I have simple example using very simple code that works just fine. I can send you this but we need to address the problem first. Maybe is one of the parameter you are passing. If I am going to help need to see the helper class
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: Problems binding a class to a detailsView control
Very well, Now is time to run under the debugger. I can't see you class but maybe you are failing inside you class either bad connection, bad sql or something else. Have you attempted to debug?
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: search with textbox1 and gridview1 :)
Intriguing that you actually thought of doing this?? Where did you get the idea? However this will work if you want to do in code behind Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click BindGrid() End Sub Private Sub BindGrid() Dim cn As New SqlConnection(ConfigurationManager.ConnectionStrings( "NorthwindConnectionString" ).ToString) cn.Open() Dim Sql As String = " Select * from products where ProductID= '" & Textbox1
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: Insert/Bind/Copy foreign key values ?
The requirements are very vague so I will again have to make a few assumptions. Hope I am close. It sounds like you would want to select an item from say a master list that will take you to a page where you can display the results. I, as usual, will use the Northwind Database to illustrate. I began with the end. Created a page called Orders.aspx <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Orders.aspx.vb" Inherits="GridView_QryStringFrGrid_Orders"
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: Problems binding a class to a detailsView control
AttackingAvatar must be a method or property that implements IEnumerale inteface DataTable DataView DataSet IList Are you doing this?
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: GridView and selecting
Samu, I am very serious when I say this. You do great work keep reasing the bar man.
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: Two customised drop down boxes in one gridview
thing like this sometimes makes me wonder if we're not going down the wrong path. This situations happen way too often just to be a couple of guys or gals having trouble. There is something truly hackish about all this. When I read your post I instally new it was going to be a difficult one. I spent sometime trying to figure out how to do this. This is what I came up with It sounded to me like you wanted cascading Dropdowns embedded in template fields on the grid. So I contrived a situation where
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Re: Problem with post back
Same thing but using stored procedure using System; using System.Collections; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class GridView_SortingGrid_SortManuallyCS2 : System.Web.UI.Page { protected void Page_Load( object sender, EventArgs
Posted to
Data Presentation Controls
(Forum)
by
aamador
on 5/17/2008
Page 1 of 111 (1106 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online