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:748006
More Search Options
RSS Available
Matching Posts
Re: Getting Oracle Function return in C# Code
Im not sure it will work, but try this (I use something like this) : string ReturnValue; ReturnValue = cmd.ExecuteNonQuery(); Good luck!
Posted to
Oracle
(Forum)
by
MSchumacher
on 1/29/2008
Re: Hyperlink Postback
Maybe you can use a LinkButton . It look like an hyperlink, but you can put code behind int the OnClick event (validation, save, etc.).
Posted to
Web Forms
(Forum)
by
MSchumacher
on 10/10/2007
Re: Stop a postback from hitting the postback event
Hi, My solution is maybe too simple, but can you use the OnClientClick event. Then you may use javascript ...
Posted to
Web Forms
(Forum)
by
MSchumacher
on 10/9/2007
Re: alert message doesn't work on the first click!
Hi James, From what I understand, your problem is a logical one. The first time, the lbSendEmail doesn't have the attribute "onclick". So, when you click it, it cannot display an alert. After the postback, you set the attribute. At this time, i suppose that no matter what the user do, if he click the lbSendEmail button, he will have the error message. If you want to give a display feedback advising your user that he must do something, after you validate that something missing at the
Posted to
Getting Started
(Forum)
by
MSchumacher
on 10/9/2007
Re: How to insert the data form ListBox?
Hi, From what I can understand, you dont use the same code as Mike suggested. You wrote : For Each li As ListBox In ListBox1 And Mike propose : For Each li As ListItem In ListBox1 Change the ListBox for ListItem and is should work.
Posted to
Getting Started
(Forum)
by
MSchumacher
on 10/9/2007
Re: Gridview : passing the DataKey with CommandArgument
Thanks CSharpSean, I figure there's a way to get it with the Click event, but I didn't now how. Im pretty sure this information will serve me one day, but for now, I will keep my solution because I like to have all the postback, initiated by a click, in the OnRowCommand event. Thanks again
Posted to
Data Presentation Controls
(Forum)
by
MSchumacher
on 10/9/2007
Re: Gridview : passing the DataKey with CommandArgument
Finaly, I found a solution. If someone has a better one, please send it. So, to solve my problem of a NULL CommandArgument, I found a way to set the index of the row selected. After, I use the index as normal to access the DataKeys. < asp : TemplateField > < ItemTemplate > < asp : LinkButton ID ="btnCopy" runat ="server" CausesValidation ="False" CommandName ="CopyButton" CommandArgument =' <%# GridView1.Rows.Count.ToString() %> '>
Posted to
Data Presentation Controls
(Forum)
by
MSchumacher
on 10/9/2007
Gridview : passing the DataKey with CommandArgument
I need to retreive the DataKey of the selected row in a GridView. Here's my situation : In a previous post ( http://forums.asp.net/t/1166794.aspx ), I asked help to add a clickable image in a gridview. The solution proposed in that post works and I did it, so I set that post resolved. Now, my problem is to access the DataKey. I know that, usually, I need to use the CommandArgument to retreive the index of the row, and then retreive different value, including the DataKey property (wich is the
Posted to
Data Presentation Controls
(Forum)
by
MSchumacher
on 10/9/2007
Re: GridView with a copy button (asp.net 2.0)
Sorry Charles, Your solution work! Im able to raise OnClick and OnCommandRow event now. Because I already have a column calling OnCommandRow, I will put all my code there. Now, I will search how to pass the argument (CommandArgument) to have the key and be able to do the copy job. Thanks
Posted to
Data Presentation Controls
(Forum)
by
MSchumacher
on 10/5/2007
Re: GridView with a copy button (asp.net 2.0)
Thanks Charles, Actually, I think my problem maybe more complex than I tought. I found this article : http://zifiglio.blogspot.com/2006/12/imagebutton-control-nested-in-gridview.html I did as it suggest, turning to false the validation, and then I had a postback witn an OnClick. Now, I have to figure what to do with it. I use .net 2.0 and this problem may be solve in 3.0... Im not sure I want to go in this mecanics of binding data on postback only and stuff like that. Im also not sure if I will loose
Posted to
Data Presentation Controls
(Forum)
by
MSchumacher
on 10/5/2007
Page 1 of 2 (18 items) 1
2
Next >
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
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online