|
Is it Possible to have 2 header rows(header for header)for a scrolling datagrid with fixed header.Plz Help.
Thanks in advance.
|
|
|
|
|
http://www.codeproject.com/useritems/add_an_extra_header_to_th.asp
|
|
|
|
|
string dateText = ((DateTextBox)grdProfiles.Items[rowNumber].FindControl("txtDate")).Text;
The value of dateText is in "dd/mm/YYYY" format.
Now I have to change it into DateTime
|
|
|
|
|
DateTime Fdate =Convert.ToDateTime(dateText.Trim()); string TempDate1 = string.Format("{0:yyyy/MM/dd}", Fdate);
Fdate =Convert.ToDateTime(TempDate1);
Rizwan Afsar
Associate Member, Technical Team
IAP Company Ltd, Gurgaon
INDIA
www.iap-online.com
|
|
|
|
|
TextBox1.text= Date from test box
var test=Convert.ToDateTime(TextBox1).ToString("YYYY/MM/DD")
Send me reply soon if it solve ur purpose
or
string Test=Convert.ToDateTime(todayDate).ToString("yyyy/MM/dd");
OR
DateTime Fdate =Convert.ToDateTime(dateText.Trim());
string TempDate1 = string.Format("{0:yyyy/MM/dd}", Fdate);
Fdate =Convert.ToDateTime(TempDate1);
Rizwan Afsar
Associate Member, Technical Team
IAP Company Ltd, Gurgaon
INDIA
www.iap-online.com
-- modified at 3:48 Thursday 20th April, 2006
|
|
|
|
|
I need to create a DDL that is what I would call intelligent. What I mean is that a user could type what they are looking for and the DDL would automatically go to the closest option. It's killing me - I don't know what to call it so I can't find anything online of how to do it. Any help is really appreciated.
|
|
|
|
|
|
You rock - that is exactly what I was looking for. THANK YOU!
|
|
|
|
|
You have to define how to determine what option is the closest one. If I for an example type "ice", should it find "mice", "Antarctica", "water", "cold" or "skating"?
---
b { font-weight: normal; }
|
|
|
|
|
I have following Query #
1. How to remove the 'X' Close button from Windows Pop-up for IE browser Window ?
2. Is this possible with Modal Window ?
3. Is there any sample code available for the implementaion of above feature ?
Sachin A
|
|
|
|
|
|
Hi,
I am looking for an advice regarding learning new technologies. Currently, I am working with vb.net and asp.net at work and almost bored with same routine loop work. Usually I have spare time at work to learn something new everyday. But the only challenge is “what is the best to learn”. i.e. I want to spent my time learning something useful that is worth spending time on. Recently, I did lot of research on AJAX and in fact used in my most of the projects as well. I found this technology really useful but the only problem I encountered that did find many resources to learn more.
Any Suggestion/Comments will be much appreciated.
Thank you in advance.
Waheed Ashraf
|
|
|
|
|
Good! Seems that U are Technical Enthusiastic
U can learn Asp.net2005 and Sqlserver 2005, xml, Sharepoint Portal too including Azax
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
i folks,
Consider the following JavaScript function:
function removeParam(str, name)
{
var rgx = new RegExp('(' + name + '=\\w*)|(' + name + '=\\w*;)');
rgx.global = true;
rgx.ignoreCase = true;
var matches = rgx.exec(str);
if(matches == null)
return str;
var i;
for(i = 0; i < matches.length; i++)
str = str.replace(matches[i], '');
return str;
}
and the following call:
var cookie = 'vid=39; vid=38; ASPNETSESSION=WHATEVER; vid=39';
alert(removeParam(cookie, 'vid'));
I actually would like to remove "vid=(whatever number)" from the above
string, so that it results in the following string:
ASPNETSESSION=WHATEVER
would someone please helps me to fix the problem? I've got no idea
what's wrong with the above pattern I've written.
Thank you for your time.
Mehdi Mousavi - Software Architect [ <a href='http://mehdi.biz'>http://mehdi.biz</a> ]
|
|
|
|
|
Perhaps you should mention what the problem is? It would greatly simplify fixing it...
I don't think that your replace is working the way you think. At least you should skip the first item in the array, as it contains the entire matched string, not a matched group.
Why don't you just use the RegExp object in a replace?
function removeParam(str, name)<br />
{<br />
var rgx = new RegExp('(^|; )' + name + '=\\w*(?:; )?');<br />
rgx.global = true;<br />
rgx.ignoreCase = true;<br />
return str.replace(rgx, '$1');<br />
}
I simplified the expression a bit, and made it aware of the beginning of the string or the separator before the name, so that it doesn't mess up other values. Otherwise removing the "on" property from "on=42; ASPNETSESSION=WHATEVER" would result in "ASPNETSESSI".
Reservation for typos, though. The code is not tested.
---
b { font-weight: normal; }
|
|
|
|
|
BUSINESS PROPOSAL LETTER.
We have all brands of Mobile Phones,Ipods,Sidekicks,Nextels phone,Laptops for sell at cheap and
affordable prices, they ranges from Nokia/Samsung/LG/Sony Ericsson/Motorola/Alcatel/panasonic With Bluetooth, all Brands and Models of Nextel Phones,we want you to get back to us with your quote so that we can begin a good business relationship. Note they are all Brand New T2 Euro specs, unlocked, no operator logo, come in their original sealed box, With 1 year
international warranty from the manufacturer, English & Spanish manual, Finland made. We want to assure you that you will never regret buying from us because the delivery will be to your doorstep via FedEx Courier service.And the Tracking number shall be sent to you upon acknowledgement of your payment. Kindly acknowledge the reciept of our mail and get back to
us at vallenmobiles@hotmail.com
PLAY STATION 1 AT JUST $100USD
PLAY STATION 2 AT JUST $140USD
We also have al kinds of xbox 360s for sale
Apple 20 GB iPod Nano......$60.00USD
Apple 4 GB iPod Mini Pink M9435LL/A ......$70.00USD
Apple 40 GB iPod photo......$80.00USD
Apple 4 GB iPod Mini Silver M9160LL/A ....$70.00USD
Apple 60 GB iPod Photo M9830LL/A......$100.00USD
Apple 60 GB iPod photo .....$55.00USD
Apple 30 GB iPod Photo M9829LL/A.......$95.00USD
Apple 512 MB iPod Shuffle MP3 Player......$50.00USD
Apple 4 GB iPod Mini Blue M9436LL/A.......$70.00USD
Apple 2 GB iPod Nano.....$90.00USD
Apple 60 GB iPod Vidoe....$150.00USD
Apple 30 GB iPod Vidoe......$110.00USD
Apple 60 GB iPod Vidoe....$150.00USD
NEXTEL 1930 ................$120USD
NEXTEL 1960 ...............$130USD
NEXTEL i870 ...............$140usd
NEXTEL 1860 ...............$110USD
SAMSUNG SCH i830 .............$220USD
SAMSUNG SGH D720 .............$170USD
SAMSUNG D500 .................$160USD
SAMSUNG i300 .................$170usd
SAMSUNG K800i.................$180usd
MOTOROLA V3 RAZ ................$150USD
MOTOROLA MPX 220 ............... $120USD
MPX 300 .........................$150USD
SIDEKICK 2 ....................$120USD
SONYERICSSON W900 ..............$190USD
SONYERICSSON W800...............$170usd
SONYERICSSON P910...............$140USD
SONYERICSSON P800 ...............$130USD
SONYERICSSON K750i ..............$110USD
NOKIA 8800 .....................$170USD
NOKIA 9500 .....................$190USD
NOKIA 9300 .....................$180USD
NOKIA N70 .....................$150USD
NOKIA N80 .....................$170USD
NOKIA N90 .....................$190USD
NOKIA N91 .....................$210USD
NOKIA N92 ....................$230USD
NOKIA E60 .....................$160USD
NOKIA E61 .....................$180USD
for more details contact vallenmobiles@hotmail.com
|
|
|
|
|
Your company must be real quality if the only advertising you can afford is spamming web forums.
|
|
|
|
|
vallentino wrote: Apple 20 GB iPod Nano......$60.00USD
I'll take that one, please. $60 sounds like about the right compensation for having to read your ad while browsing forums on a coding site - you just send me the iPod and we'll call it square, eh?
|
|
|
|
|
I have three web pages here, page A, B and C. When buttons on page A and B are clicked, page C will be displayed. But the displayed contents on page C coming from Page A and B are little bit different. I want to know that page C comes from page A button click or page B button click. I’m thinking about to use static variable to remember which button is clicked. Could you give me suggestion? Thank you so much.
|
|
|
|
|
hi there,
use Query String would be an option...
<< >>
|
|
|
|
|
Yes, it works well. Thank you very much.
|
|
|
|
|
It works well. Thank you very much.
Jane
|
|
|
|
|
Hi I have a problem that refers to dubbelclick on a button.
I want to prevent the server code to run again after a second postback.
I can not solve this with javascript because my clients doesn't always allow javacript.
I know that a thread on the server doesn't die because of a second postback while the first thread is running but the connection to the client doesn't seemes to work for the first thread after a second postback.
Often this isn't a problem but I want to redirect the client to a new page after saving data to the database.
I created a function to see if it is a second postback or not so that is not my problem.
I think the answer is in the threads.
If you have any Idea or question please tell me.
Thanx!
-- modified at 8:56 Tuesday 18th April, 2006
|
|
|
|
|
The only way to do this is with Javascript - by disabling the button after the first click.
You could also add a message kindly asking users not to double press the submit/save button for those that have JS switched off.
|
|
|
|
|
There must be a way.
You can not trust a user to follow directions. If they click more then once the data will be stored twice.
I can with cash and a hiddenfield check if it is a second click on the button during the first postback but I somehow lose the connection to the client with the first thread.
I have done two different test and sometimes it is the same thread that executes the code on the server side for both postbacks. I don't know why. If it is the same thread then it's easy but not if it is different threads.
Do you know why it is different threads sometimes?
How can I get hold of the first thread and merge it with the second.
Thanx!
|
|
|
|