Thanks I will try that and see what happen :)
Mazy
"This chancy chancy chancy world."
Thanks I will try that and see what happen :)
Mazy
"This chancy chancy chancy world."
My date is like this: 2016-02-07 ( YYYY-MM-DD )
Mazy
"This chancy chancy chancy world."
Thanks, Yes it can be for timezone/localisation problem too. Here is my code: function ff_bfQuickMode7256046_validation(element, message) { if(element.value == '' ) return 'Please select a date for your apppointement.\n'; var myday = new Date(element.value) ; myday.setDate(myday.getDate()); var weekday = myday.getDay(); alert(weekday); if (weekday == 6 || weekday == 0 ) { if (message=='') message = element.name+" faild in my test.\n" message = 'We are close on Saturdays and Sundays.\n'; ff_validationFocus(element.name); return message; } // if return ''; } // ff_bfQuickMode7256046_validation The probelm is I get two different numbers for WEEKDAY on two different computer. So are you telling me that getDay() should return the same value globaly for all OS or setting..?
Mazy
"This chancy chancy chancy world."
Hello everybody, I have a Calendar in my page and I want to check if users select Saturday or Sundays, with getDay() function I can check day number, but I find out depend on operating system setting I get different number for Saturday or Sunday. So how is a proper way I can check this and be sure it is secure for every operating system settings. Regards
Mazy
"This chancy chancy chancy world."
I have custom windows user control. It is just a textbox puted on a panel. And panel is on User control. The panel OnPaint is overriden. Everything looks fine except when some form comes on the control or menu open on it and I move or close the above form, the user control looks does not refresh completely extra lines from closed form remain on the panel. Should I call Invalidate() or Refresh() from specific event of user control? Thanks
Mazy
"This chancy chancy chancy world."
Yes, after more investigation, I came into same result. Thanks for reply.
Mazy
"This chancy chancy chancy world."
I want to change the look of Up and Down buttons in NumericUpDown control with some images, I know one way is to override OnPaint event but I could not find any example. Does anyone know good example of this?
Mazy
"This chancy chancy chancy world."
Hi, I'm not very good at RegEx , I want to use RegEx class to match values with desired string. My main string looks like this: <%#String.Concat ..blah blah.. %>
in above string I want to get all the matches which between double quotes ( " ... " ) in blah blah part. What is my expression should look like? Thanks for your help
Mazy
"This chancy chancy chancy world."
Hi, I'm not very good at RegEx , I want to use RegEx class to match values with desired string. My main string looks like this: <%#String.Concat ..blah blah.. %>
in above string I want to get all the matches which between double quotes ( " ... " ) in blah blah part. What is my expression should look like? Thanks for your help
Mazy
"This chancy chancy chancy world."
I'm using HttpWebRequest
& HttpWebResponse
classes in my application. I have SSH proxy on my computer which IE or FIREFOX use it to connect to internet. How can I make my application use the same proxy or use the setting in IE? The WebProxy
class didn't help me.
Mazy
"This chancy chancy chancy world."
Standard Controls, Data Controls, Validation Control, Login Controls
Mazy
"This chancy chancy chancy world."
I want to get list of asp.net controls and list them in a listbox. I know they are all in WebControl namespace but there so many extra class are also there. So anybody know some smooth solution?
Mazy
"This chancy chancy chancy world."
I have treeview control in my website and each node also has a image. When user click on a node the page redirect to another page. Now my question is , is it possible to have two different url, one for clicking on image node and another for clicking on node text?
Mazy
"This chancy chancy chancy world."
System.Drawing.Image.FromFile(jpegpath).Size
Mazy
"This chancy chancy chancy world."
Thanks ,it works now but I have one more problem. This button will be placed inside different type of UserControls, so how can get which UserControl should be create other that using a factory for my constructors?
Mazy
"This chancy chancy chancy world."
I have a usercontrol in form1 which has a button in it. When user press this button I create a FORM class and add my usercontrol to it with the code below:
private void MaximizeButton_Click(object sender, EventArgs e) {
Form form = new Form();
Control c = this.Parent;
form.Controls.Add(c);
form.Controls[0].Dock = DockStyle.Fill;
form.Controls[0].Location = new Point(0, 0);
form.ShowDialog();
}
The second form shown correctly but the problem is the UserControl disappear from the main form. Any idea? Thanks
Mazy
"This chancy chancy chancy world."
Thank you very much. I got the point.
Mazy
"This chancy chancy chancy world."
Thanks for your reply, marquee is the answer for first one, see the page below , BBC Persian [[^](http://BBC Persian)] The page is in persian, you can see what I mean by character by character at the top of the page. -- modified at 14:54 Wednesday 16th May, 2007
Mazy
"This chancy chancy chancy world."
I'd be pleased if somebody tell me the style that cause a text: 1 - Move horizentally 2- Text shown character by character in a label. Thanks.
Mazy
"This chancy chancy chancy world."
Mohammad Daba`an wrote:
ip address,
Context.Request.UserHostAddress
Mazy
"This chancy chancy chancy world."