|
|
is your button is Server Side Control ??? Then it true because it is reason for AutopostBack nature of Server side button control .
|
|
|
|
|
|
Do NOT delete your messages. It is rude.
|
|
|
|
|
Oh, one of those posters
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
can use timestamp in asp.net,if use meeans,how it use in asp.net.
|
|
|
|
|
can you kindly explain in details, that what you actualy trying to do ??
|
|
|
|
|
How can we enter or display regional languages in aspx pages?
I see this feature in orkut. One of my friends need a similar functionality. Your suggestion would really help us alot.
Thanks,
RaMo
|
|
|
|
|
I think for that you have to create custome Culture, Region etc !!
Try to use concept Globalization . This is the way that you can try !!!
|
|
|
|
|
Hi Abhijit,
Thank you for your quick response.
Our requirement is to have a site in indian languages. Any where from the world we should display the font in these indian languages. I dont know how can Culture and region or globalization help me. Any article or site with a sample would really help me.
Thanks,
RaMo
|
|
|
|
|
|
hi
i have a problem in showing multiple images in one column on behalf of one id in datalist
can any one help me
|
|
|
|
|
Hi everybody,
I created a site using asp.net 2.0. That site has an html file which used to read and write some html codes at runtime. But I got an error message that is "Access to the path 'D:\WWWRoot\bolt.cc\www\Admin\Msg.htm' is denied." I talked with the service providers. They told me that they give full permission to that file. Also I checked the permission though the site control panel. The file has full permission to read and write. It is working correctly in the local mechine. This error occured at the time of open the file to write. Can you please tell the reason of this error?
Thanks and Regards,
Hogan
|
|
|
|
|
You can ask the provider to give ASP.NET account for full permission on that directory. If it's not possible, ask them an account name and password which is having full rights on the directory, then use impersonation before you write something to the file. You may check this[^] for getting an idea.
|
|
|
|
|
encrypt webconfig value of appsetting in asp.net
i am using this code but it Encrypt all Appsetting but i want encrypt only value of Appsetting.
CODE:-
Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath)
Dim section As ConfigurationSection = config.GetSection("appSettings")
If Not section Is Nothing And Not section.SectionInformation.IsProtected Then
section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider")
config.Save()
End If
Piyush Vardhan Singh
|
|
|
|
|
Private Function ToSentenceCase(ByVal m As Match) As String
Return m.Value(0).ToString().ToUpper() & m.Value.Substring(1)
End Function
Dim text As String = Regex.ReplaceTextBox.Text, "\w+",AddressOfToSentenceCase)
this function is working fine to convet the first letter to uppercase but how this is working will any body say s the functionality
plz
|
|
|
|
|
|
i have a textbox field , there i want to insert only the numeric values.
i am using the RegularExpressionValidator / custom validator , there in the validation group i am writing [0-9] , but this is not working , after i insert the alphanumeric values, afterwards, it get postback
Please help.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
i think u use range validater and set type property integer and min. and max value
Piyush Vardhan Singh
|
|
|
|
|
hi sonia
u can use java script for this whic allows the user to enter the numerics only. in text box onkeypress u call this function
function Validate_OnKeyPress(iKeyascii)
{
if(iKeyascii >= 48 && iKeyascii <= 57 )
{
return true;
}
else
{
return false;
}
}
|
|
|
|
|
onkeypress is the funciton that i will add in the attribute of the textbox?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
hey sonia here is solution for ur problem..
u must use RegularExpressionValidator
<asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" setfocusonerror="true" controltovalidate="txtPoCode">
Display="None" ErrorMessage="Postal Code - accepts only numeric digits." ValidationGroup="iaValidator"
ValidationExpression="[0-9]*">
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Thank u Boss U r rt
Piyush Vardhan Singh
|
|
|
|
|
You can use Regular Expression validator for this. Try it!
Thanks & Regards
Niranjan
|
|
|
|
|
how can i make a first character in the word an upper case, is there any predefined function that do this?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|