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:83329
More Search Options
RSS Available
Matching Posts
Re: IE8, AJAX and SSL - Solution to mixed content security warning!
I took Steven's code and watered it down even further. We have a very big site and only a handful of pages need HTTPS, so I created a short list of files I cared about. I then took this all and stuck it right into the global.asax file in the Application_BeginRequest Event. Code looks like this: Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) ' Fires at the beginning of each request Dim app As HttpApplication = TryCast(sender, HttpApplication) Try Dim URI As [String
Posted to
ASP.NET AJAX UI
(Forum)
by
floorcookie
on 11/24/2009
Re: datagrid binding issues in VS 2005
OK, I finally boiled it down to the culprit. The new datarow MUST be Dim'd as a datarow Must declare it like this in 2.0: Dim drNew As DataRow = dt.NewRow This used to work in 1.1 but no longer does in 2.0: Dim drNew = dt.NewRow
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
floorcookie
on 2/3/2006
Re: datagrid binding issues in VS 2005
Ok, I figured some things out and got it working, but I would love some feedback. The problem was in my table creation as I suspected. It turns out I can not create a NewRow and fill in the data then add it to the table. In debugger I verified that the drNew datarow was getting the proper data assigned, but after adding the drNew to the datatable all values revert to null. The row IS added, but just not any of the values I assigned. By adding them directly to the table in an array the problem is
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
floorcookie
on 2/3/2006
Re: datagrid binding issues in VS 2005
Thanks Eilon, but that does not work either. In fact, I was using a dataview originally and then only switched it to bind directly to the datatable in my efforts to solve the problem. I know it is not an issue with the datagrid because I get the same error when binding to a gridview and a repeater. Code now looks like this: Dim dsGroups As DataSet Dim aGroupService As New GroupsService.Groups Dim aPositionService As New positionService.positions Dim dt As New DataTable dt.Columns.Add( "Fund" , GetType
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
floorcookie
on 2/3/2006
Re: Unable to start debugging on the web server. Permission problem.
Open up a Visual Studio Command prompt and paste in the following: Echo Stop IIS iisreset /stop echo "----------------------" echo "Deleting the ASPNET account." net user ASPNET /delete echo "----------------------" echo "Reregistering ASP.NET and the ASPNET account." aspnet_regiis -i echo "Restarting IIS." iisreset /start echo "----------------------" Then try. It may then tell you it can't access the temp files. If it tells you that, go to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
floorcookie
on 2/2/2006
datagrid binding issues in VS 2005
I converted an older project and the datagrid will not bind. The table just shows up as empty with the words "System.Data.Datarow" in each row. In an effort simply things (and find the issue) I really watered down the code. In front page code (very simple) = < asp : DataGrid ID =dgTest runat =server></ asp : DataGrid > On code-behind I am creating a table from a webservice (I think you can ignore most of this - just realize I am creating the datatable before binding. Then binding occurs
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
floorcookie
on 2/2/2006
Re: Dynamic folders versus URL attributes.
Thanks guys, that helps alot. I should be able to do this with URL rewriting. I will report back in a few weeks as to how it went. -- Mike
Posted to
Web Forms
(Forum)
by
floorcookie
on 7/13/2005
Re: Why I need to refresh?
In Visual Studio, choose (Page Events) in the Class drop down -- on top left of screen. Then choose PreRender in the Method drop down - top right of screen. This will create the method for you and then you can put whatever you want inside it. In VB, the sub looks like this: Private Sub Page_PreRender( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .PreRender End Sub
Posted to
Web Forms
(Forum)
by
floorcookie
on 7/12/2005
Dynamic folders versus URL attributes.
What I have: http://somedomain/loanofficer/view.aspx?loid=2 http://somedomain/loanofficer/view.aspx?loid=3 http://somedomain/loanofficer/view.aspx?loid=4 etc. What the client wants: http://somedomain/loanofficer/BobJones http://somedomain/loanofficer/TomJohnson http://somedomain/loanofficer/MargeSimpson etc. Let's just assume, for the sake of argument, that all the names are unique. How can I do this short of creating a script that runs every now and then and goes through the file system and creates
Posted to
Web Forms
(Forum)
by
floorcookie
on 7/12/2005
How to separate form validation in User Controls
I have 2 web user controls on the same page. 1 is for existing users to log in The other is for new users to create an account. They are both visible on the page and have their own submit buttons. There are various validators in each user control (requiredFormValidators, compareValidators). Each user control has it's own validation summary. When either button is pressed BOTH validation summaries are displayed with all error messages duplicacted in both. I tried turning off client-side validation
Posted to
Web Forms
(Forum)
by
floorcookie
on 7/21/2004
Page 1 of 2 (12 items) 1
2
Next >
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online