|
I've written my first jQuery ajax function. It passes a date from the browser to a webmethod in my code-behind. From there the date is verified using a regular expression to make sure someone isn't trying to send something else back. Now, when I tested out this function before with a standard postback, it worked fine. Now, since I'm using ajax I'm getting the message back that my date is invalid, even though I can return it to the screen and it looks just fine.
My question is, how is the string formatted when it is sent from the browser to the code behind using ajax/json? Do I need to parse the date in my code behind?
|
|
|
|
|
You need to explain what framework you're using. In MVC, you can create a function that takes a DateTime of the same name, and the framework just magically parses it for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Sorry, it was in SharePoint 2010, but I figured it out. Thanks.
|
|
|
|
|
Hi,
I explain my requirement with example.
Suppose GridView bind with 10 records. In each row in gridview have checkbox.Suppose i selected five record (i checked five checkbox).I need to update selected five records in database.
When I update first record I need to show updated Record in other gridview. same way when other record update i need to show updated record in other gridview.
it's urgent.please let me how to do it.
Note:-Update button is outside of gridview.
Thanks
Asif
|
|
|
|
|
This has already been answered here[^]. Please do not post the same question in multiple forums.
|
|
|
|
|
+1 was to add my opinion as in 'ditto', same view.
Vote will be 5!
[This is an answer to a question posted on a deleted article]
|
|
|
|
|
Thanks, my comment was slightly tongue in cheek.
|
|
|
|
|
Need to load a lot of product data to a site that does not accept data feeds. I could manually enter each of my products in a form, submit and continue to product #2, enter form , submit etc... But I'd prefer to find an automated solution...if anyone knows SAP, you do the same thing essentially using something called a BDC program: BATCH DATA CONTROL.
Surely there is something out there to do this. Or an example using perl::LWP e.g.?
any help would be greatly appreciated.
|
|
|
|
|
How can I disable previous button on Wizard1_FinishButtonClick event ?
I was able to find cancel and finish button but not previous
CType(Wizard1.FindControl("FinishNavigationTemplateContainerID").FindControl("FinishButton"), Button)
|
|
|
|
|
hi,
Iam trying to install ffmpeg on wamp server2.1
but i failed to install can any one help to me.
Thank you
|
|
|
|
|
Hi everyone,
I have problem with links on my site (http://troszczynka.pl). I would like to place them permanently on the top of the notebook (just like in the project: http://troszczynka.pl/home.png) and make an animation of rolling out link with jQuery with mouse hover event.
I can manage jQuery by myself but I can't place them exactly on the top of the notebook. I tried to do it but on different screens all the links move into the different places.
|
|
|
|
|
[edited for clarity on July 7]
Let's say I have a web-site someone did, possibly an "amateur," or someone who clearly doesn't grasp what "standards compliant" is, and has created the web-site equivalent of BASIC "spaghetti code."
My goals here are:
1. Make the code standards compliant: but, not to alter the functioning of the site at all.
2. Cross-browser and cross-browser-version display issues: deal with issues of cross-browser display validation, and, possibly, make it display properly on the usual gamut of browsers/versions.
I realize these are two different issues, even though I think it's possible that having fully standards compliant HTML and CSS might make some impact on cross-browser display issues.
Are you using any tools now, paid, free, or, on-line, to help you analyze these issues in, or QA of, revising a site's HTML and CSS ?
thanks, Bill
The glyphs you are reading now: are place-holders signifying the total absence of a signature.
modified 7-Jul-12 5:36am.
|
|
|
|
|
|
Thanks, Graham,I am aware of that tool, and consider it a definite must-use in the diagnostic phase.
For handling cross-browser compatibility, I am considering the whole gamut of external JS libraries, including (for HTML5) BoilerPlate[^]. For mobile-device display issues I'm finding this article helpful:[^].
And then, there's, of course, Modernizr[^].
But, I am not optimistic that given web-site "X" written by someone's uncle, with the crudest possible HTMl/CSS, that will ever be able to be automatically brought up to standards, without hand-tuning by someone who understands standards compliancy, and the inevitable cross-browser testing, and cross-browser-version testing.
However, there are lots of tools for cross-browser testing I haven't explored yet:[^].
best, Bill
The glyphs you are reading now: are place-holders signifying the total absence of a signature.
|
|
|
|
|
Here's[^] another source of links to good stuff. Perhaps a bit too far to the 'performance' end of the spectrum for your immediate needs, but well worth a dabble.
Cheers,
Peter
[edit] updated URL in links. [/edit]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
modified 8-Jul-12 17:35pm.
|
|
|
|
|
Thanks, Peter,
It appears the content your link points to, which I assume is: "Sam's ultimate web performance tool and resource list;" is now here:[^].
best, Bill
The glyphs you are reading now: are place-holders signifying the total absence of a signature.
|
|
|
|
|
The link worked when I posted it. As that URL now says, he moved it (adding a final 's'). Previous post updated (and my FF bookmark!)
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Peter_in_2780 wrote: he moved it "Moving the goalposts" is what happens in my current consulting job, everyday
best, Bill
The glyphs you are reading now: are place-holders signifying the total absence of a signature.
|
|
|
|
|
I'm using Wordpress 3.3.2 and DynamiX theme.I have a small alignment issue on my site. I need the following bit of CSS code to be applied only on iPhones and iPads.
#footer-wrap-inner{
width: 200% !important;
}
Can anyone please help me start from the scratch?
Any sort of help is greatly appreciated!
Thanks in advance
|
|
|
|
|
For iPad:
@media only screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-min-device-pixel-ratio: 1)
{
#footer-wrap-inner{
width: 200% !important;
}
} For iPhone
@media handheld, only screen and (max-device-width: 480px)
{
#footer-wrap-inner{
width: 200% !important;
}
}
|
|
|
|
|
Sorry Pete.. That doesn't seems to work. Can you please take a look at my site http://cloudchowk.com/future/[^]and help me?
You can see the footer misaligned only when viewed in iOS devices and emulators( ipad-emulator.org, iphone-emulator.org)..
Thanks though for coming forward to help me..
|
|
|
|
|
Message Removed
modified 1-Jul-12 12:28pm.
|
|
|
|
|
On this web page[^] they are using a font named intel-neo-font, which is not available on my machine but yet displays correctly. How is this done ? (@fontface ?)
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
What I see (with Firebug) is
font-family: "intel-neo-sans","tahoma","helvetica",sans-serif;
This is a list of preferences, so if you don't have intel-neo-sans , then your browser will use tahoma if it can, else helvetica and in the unlikely event you don't even have that, it'll find a generic sans-serif font (probably Arial in some form).
Cheers,
Peter
ps I wonder what intel-neo-sans looks like.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I do get the text displayed in intel-neo-sans . This font is however not installed on my machine, and I was wondering how they were achieving that.
Peter_in_2780 wrote: I wonder what intel-neo-sans looks like.
Just hover the name in the css display of the FF Debugger, and it will be displayed.
|
|
|
|