Search

You searched for the word(s): userid:83329

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
  • 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
  • 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
  • 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
  • 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
  • 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 >