|
http://www.google.co.uk/search?hl=en&q=asp.net+gridview&btnG=Google+Search&meta=
|
|
|
|
|
check this[^] out
I Love T-SQL
|
|
|
|
|
Yeah, I agree with you,google offer much for everything but the point is to know how to use it...
I Love T-SQL
|
|
|
|
|
Hi,
How can I get a string from a resource file in Javascript? am getting string from resource file in apsx page using
]]>;
Like this is there any function to get string from Resource file in Javascript?
Can any one help me?
Thanks
|
|
|
|
|
create a function that will return string from a function
like this
function Try()
{
var str='Somthing special over the years ';
return str;
}
and assign this function were you want to show that string
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi I tried that but that is not working. Actually my problem is, am using curomvalidator to validate radio buttons. In customvalidator am displaying ErrorMessage="Credit value must be selected". but I wanted to display that message dynamically.i.e depends on country it should display in that language. for that I have created resource files... I used ResourceManager.GetString("Credit"). How Can I assing this value to ErrorMessage in apsx page..?
<asp:CustomValidator id="vld1PaymentType" ClientValidationFunction="ValidateRadiobutton" runat="server"
ErrorMessage="Credit value must be selected" Display="none" Enabled="false"> </asp:CustomValidator>
I tried with the below line, but its not working.
ErrirMessage = <%=resourceManager.GetString("Credit") %>
Can you help in this one?
Thanks
|
|
|
|
|
It depends on How your custom validator is rendering the error message
Don't assign any error message at serever side e.g ErrorMessage=""
and first get you control by docuement get element by Id and then assign its value
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
hai,
currently i m using ASP.NET with C#
(.net 2005, 2.0 framework).
actually, i m trying to upload files from EXCEL to SQL Server and i processed.
The thing is, in excel file the 1st row is considered as database column name,
and those database column name is given in excel sheet of 1st row.
But its not in the USER FRIENDLY manner.
for example..
my database column name (F_name, L_Name) should be the 1st row of excel sheet.
but the user is in need of (First Name, Last Name).
so here i m trying to convert the First Name to F_Name and Last Name to L_Name.
how to achieve it?
Thanks in advance - KARAN
|
|
|
|
|
Hi friends...
Since last 2 days , i had late nights... my problem is..
i have a server and i publish a webservice on it, with only 2 functions for insert the datas tat its getting. i have my client machines in 5 different place, say 30 km away.. At every 30 mins the client machine will send an some datas to the webservice. But im getting an error tat..
"The underlying connection was closed. unable to connect remote server."i'm not getting vats it. i searched in search engines but its not worth.
can anybody help me..
vats all i tried is.
1. change the setting in web config of webservice. (Not worked)
2. checked whether the clients can access webservice (Worked)
3. changed the timeout (NW).
......
But Since last week it worked fine.. but 2 days b4 my ip was changed , after tat only i hve tis pblm.. And also, i have another application with another webservice. But its working fine..Can anyone help me....
Thanks in advance..
modified on Monday, April 21, 2008 2:03 AM
|
|
|
|
|
SamRST wrote: "The underlying connection was closed. unable to connect remote server."
Is there an intermittent firewall that is blocking something?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi
I am working on read mail's from server using pop3 , I am using pop3client . actually
My scenario is in server contains 10 mail , 1st time I read 10 mail but I am not deleting that mails, I am going to read 2nd time I read all messages but I want only unread messages how it is possible please help me. Thanks in advance.
regards
Ramu
|
|
|
|
|
|
hey can any one please help me in accessing text which was entered in textarea.
teaxtarea1.value -- not working
teaxtarea1.text -- not working
|
|
|
|
|
var test=document.getElementById('TextArea1');
alert(test.value);
check this its working in my machine. Could you post your javascript function here
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
function textCounter(field,cntfield,maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.value = maxlimit - field.value.length;
}
-------------------
onkeydown ="textCounter(document.form1.message1,document.form1.remLen1,1000)"
onkeyup ="textCounter(document.form1.message1,document.form1.remLen1,1000)" style="width: 420px; height: 118px" id="message1">
-----------
no ur code is not working men... can u try again with this
|
|
|
|
|
function textCounter(field,cntfield,maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.value = maxlimit - field.value.length;
}
|
|
|
|
|
hey sandeep ur code not working dude now can u try to tell with the above script...
|
|
|
|
|
Check this
onkeydown ="textCounter(document.form1.message1,document.form1.remLen1,1000)"
onkeyup ="textCounter(document.form1.message1,document.form1.remLen1,1000)" style="width: 420px; height: 118px" id="message1">
Let me know what are you trying to do ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
rajkumar.3 wrote:
onkeydown ="textCounter(document.form1.message1,document.form1.remLen1,1000)"
onkeyup ="textCounter(document.form1.message1,document.form1.remLen1,1000)" style="width: 420px; height: 118px" id="message1">
Are you using any user control or anything ?
document.form1.message1 might not work in Mozilla browser Again
closing bracket should be after id="Message" instead of rows="5"
onkeydown ="textCounter(document.form1.message1,document.form1.remLen1,1000)"
onkeyup ="textCounter(document.form1.message1,document.form1.remLen1,1000)" style="width: 420px; height: 118px" id="message1">
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
modified on Monday, April 21, 2008 2:05 AM
|
|
|
|
|
got it dude no need to use find control and all just set set run at = server then you can acess directly like textarea1.value.
any how thanks ton bye..
|
|
|
|
|
i want to sent 3 value from one html page to another html page. does anybody know that how should i do?
|
|
|
|
|
I think you would need to use javascript in the destination page to read the values sent and set the values in that page
Alexei Rodriguez
|
|
|
|
|
If your pages are pure HTML, then you're in the wrong forum. The obvious way, in any case, is to put the values on your URL and read them off the query string.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
can u help me how can i sent them with url?
|
|
|
|