Showing results 1 to 15 of 15
Search took 0.01 seconds.
Posts Made By: deshg
Forum: ASP.NET Oct 22nd, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Yeah i've got the % wildcards in my database queries, i'm ok with that sort of stuff because it's the same as php, sql i'm fine with, it's just this dreaded ASP.NET. You most certainly have been...
Forum: ASP.NET Oct 22nd, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Wow, thanks! That code i printed before does indeed appear to do exactly what i need, parsing the variable via the url. I have just made a drop down box as a second input and have got that variable...
Forum: ASP.NET Oct 22nd, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Check this little bit of genius (not thought up by me obviously!):


Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

ps: i added the </asp:Repeater> as Visual Studio kept telling me it should be there!
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

I think i might cry! :)

I have tried integrating your code into my page, here is my entire search results page:


<%@ Page Language="VB" MasterPageFile="~/MasterPage2.master" AutoEventWireup="false"...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Sorry still being thick, i can't have html and body tags within my search2.aspx page as they're within a masterpage which already defines them, which i think also means i can't have a <script> tag as...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

ah okay that makes sense. Ok really really stupid question now, where do i actually put that page load function, it doesn't seem to like me putting into the .aspx.vb page and i can't put it in the...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Master pages huh? ASP just makes everything so easy doesn't it :) I have tried using this.form.submit(); but then it posts to the current page rather than the one specified in action. I unfortunately...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

I tried using that code you just posted but i get the:

'document.forms.testform' is null or not an object

error on page again unfortunately :(......

Thanks so much for your help, it really is...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Hey, i just tried the this.form.submit(); as a replacement within the last code i posted. I get no error this time, but instead it just posts back to the current page, rather than posting to the...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

You can tell i'm an experienced asp.net programmer can't you :) Sorry, this is quite embarassing! :) I have made that change, but am still getting the same error as before. Here is my updated...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Ok, i'm feeling less and less clever as this conversation goes on. In fact i think i might have to go and do an IT GCSE and learn how to turn a computer on. I have now put the following code into my...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

My apologies, i win the thicko prize, but when you say add it to your submit button, what exactly do you mean? Where within the button do you put it, do you use an OnClick method within the submit...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Re: Cross page posting confusion

Thanks so much for your reply, this is driving me absolutely crazy! That was what i tried as i assumed it would work, but the problem i'm having is it only seems to post to the current page, no...
Forum: ASP.NET Oct 21st, 2007
Replies: 31
Views: 3,074
Posted By deshg
Cross page posting confusion

Hey everyone,

I am a php programmer originally and am just helping a friend of mine update their website that they paid a designer (well that's what he called himself!) to do ages ago. I have built...
Showing results 1 to 15 of 15

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:42 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC