Beg to differ ... formview/objectdatasource pushes in the other direction. Using bindings and evals makes it ever so clear. Combined with good use of custom controls the pages are so much more readable. I hated having to fill up my textboxes and labels from code behind , always forgetting a few...
1: It'ld be cleaner to run your application with a custom account. This way you're sure under which account your application is running.
Create a local account on your computer and add <identity impersonate="true" userName="CustomUser" password="CustomAccount"/> under <system.web>, make sure the...
To have different visible layout from the one that you print you can use print stylesheet like so :
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
This will most likely not suffice, since you cannot control the margins etc ... the only way to control these margins is...
check that you referenced the jquery js file correct. Download fiddler, it'll show you what the page gets (like images, js files ...). Most likely the reference is broken.
When you reference files from the HEAD tag you are writing pure HTML, whereas when you're including it using the...
You can't put server script tags in the Text or Navigateurl property of asp:hyperlink.
If it's nescessary to use markup to bind the data, use the HTML href and <%= %> to fill in the "src".
Aside from that use : ResolveUrl(Eval("fileName")) or resolveclientUrl() for public sites to get the full...
DateTime.Now returns the time as well.
Your datetime picker is returning only the date I assume.
They'ld have to pretty lucky to select the correct millisecond :p
If your multiview is causing a postback, and you set the visibility of other controls with javascript, you have to set the visibility again after postback.
The state of your other controls is not saved in viewstate if it is set through javascript.
here is what I use:
I don't have time to explain atm. the function incorporates my entire menu button behaviour. Including double click prevention, but it also disables all buttons in the designated div while posting back.
The C# function:
public static void PreventDoubleAndMenuCLick(Control...
I was baffled by the fact that my thread kept getting killed when my session ended. I just migrated from IIS 5 to 6 , it used to work in IIS 5. So I checked every single recycle thing, turned on logging on recycling for windows events costed me 10 hours or so :p ... after many hours - threads...
I need to run webservices without installing the framework on a windows XP Pro system. webservices aren't available in IIS 5.1 it seems, is there any way to fix this ?
many thanks
I've been looking everywhere on the net, I don't see what I'm doing wrong.
My query is SELECT link,datum,IP,type FROM visipro2 WHERE datum > #2007-03-08# AND type = 'email' order by datum desc
It doesn't only return the dates in march, but 3-oct. shows up as well.
link datum IP type...
Well I made a function some time ago. It's a huge class in the form_load I call fillSearch() ... and I can call it, it works. I just can't find it anymore. I only have 2 .vb files, I searched through entire current project and it certainly isn't located in a dll. How is this possible ?
Aight looked up the function and made sumthin to test:
If intMode = 3 And dtParameters.Rows(j).Item("ParamId") = 12 Then
Dim RegexObj2 As Regex = New Regex("BODY")
Dim myDelegate As New MatchEvaluator(AddressOf...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.