|
Disable EnableViestateMac
<system.web>
<pages enableviewstatemac="false">
<machinekey validationkey="A96B2F3BF50A1A2A1B81214A550B89F2A318B3712FB5AC8CD82AF4F3925B3C6ED58CF5F38503629A78BF8C27B1B736C4E84DACE342AB83A42932B44EBC3D7601"
="" decryptionkey="D01201C69DF5E9863133028CBD4E6EEFC45B5E609D7F4107" validation="SHA1">
put those in Web.Config and try
--------------------------------------------------------------------------
Boss asked me to Develop in "Java" or "better"
So developed in .NET
|
|
|
|
|
I got this error message “Invalid character in a Base-64 string” and I don’t know what is causing it… do you have any idea about it?
|
|
|
|
|
the event of a tree view SelectedNodeChanged does not fire if i use tree view's property NavigateURL to move to the URL on clicking the child node...i had also set its SelectAction to Select property...but no use...ne help or update in this regard will be really helpful...
Atif Ali Wasti
Senior Software Engineer
|
|
|
|
|
Has anyone had any experience with ASP.NET code generators?
I’m looking for a package that will produce my admin pages – adding, editing and deleting records in SQL Server – and will allow me to easily modify the source code where necessary. Ideally, the pages produced would look professional.
Here’s the catch: I’m using Visual Studio .NET 2003, and I know some won’t support this.
There seem to be a lot of these out there, but does anyone recommend a particular tool?
Paul
|
|
|
|
|
Please try TierDeveloper located at http://www.alachisoft.com/tdev/index.html[^]
TierDeveloper is a perfect .NET code generator that helps you develop real life applications in record time and large complex code generation scenarios. It is an object-to-relational mapping code generator that lets you map, generate, and maintain 50% of your .NET application code, namely your business and data objects. Use these objects in ASP.NET, Windows Forms, console and Windows Services apps.
Sarah Sana
Software Marketing Specialist
http://www.alachisoft.com
|
|
|
|
|
IMHO, Iron Speed is a good one, but the price is
|
|
|
|
|
My personal fav is CodeSmith:
http://www.codesmithtools.com
Oddly, the site is down right now... Might give it a try later hehe
|
|
|
|
|
Hi.
i hv prblem ,i hv server control textbox on a form,i wnt to validate the entered value in the textbox,the value mst be digit range 0 to 9,if the user enter the alphabetic word like A,B up Z,it prompt the user plz enter the digit..the textbox is taking the phone Number..
i wnt to do this through javascript..on client side..
tell me on which event of textbox i use and how ,plz help me
waiting for rply
|
|
|
|
|
Try writing in English, not SMS-SPK
Also, try using a descriptive title rather than "plz help me"
Read this[^] for further information on getting answers to your questions!
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-- modified at 5:05 Monday 26th June, 2006
|
|
|
|
|
Use textbox's onkeypress event to prevent the user from entering invalid characters.
function ValidateInt(e)
{
if (navigator.appName == "Microsoft Internet Explorer")
{
if (e.keyCode < 48 || e.keyCode >= 58)
{
return false;
}
else
{
return true;
}
}
if (navigator.appName == "Netscape")
{
if (e.which < 48 || e.which >= 58)
{
if(e.which == 0 || e.which == 8)
{
return true;
}
else
{
return false;
}
}
}
<asp:textbox id="txtPhoneNo" onkeypress="javascript:return ValidateInt(event);" runat="server">
Hope this will help u
Regards,
Uma
|
|
|
|
|
hi,
its pretty good ,i also make the script thnks for this,
bt the problem is still exist ,how can i call this script from the code in vb.net.and which of the server control event i used to,ontextchange event or anyother else..
thnks
|
|
|
|
|
For the server contorl textbox ONkeypress event u write this and hope it will work. U can write it in the HTML itself.
<asp:textbox id="phoneno" onkeypress="javascript:return ValidateInt(event)">
This is how we do in C#.NEt
Hope this will work with VB.NET aswell.
Tyr it
Regards,
Uma
|
|
|
|
|
Hello all,
for asp.net 1.1 project, i have oracle 9i client. Using 9i client i am able to access the clinet. but with asp.net application it is giving following error
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
i am given permissions to ora92 folder. still it is givng same problem
any solution.
regards
GV Ramana
|
|
|
|
|
Hi Ramana,
this is the same problem, i am facing. If u got any solution, Plzz let me know.
Regards
Manish
|
|
|
|
|
Hello all,
our asp.net 1.1 site, in our home page there are few links. that links javascipt written in C#
objCell.Attributes.Add("onmouseover", "Javascript:moveOver_LeftMenu();");
objCell.Attributes.Add("onmouseout", "Javascript:moveOut_LeftMenu);");
this is working fine for IE6. but problem with it is not working in case of Mozilla firefox browser.
my qtn is how to handle in case of Mozilla.
any sounds or suggestions are appriciated.
regards
GV Ramana
regards
GV Ramana
|
|
|
|
|
Hi all,
I have DataGrid and one of the column is Checkbox.This column is of Status.When I Bind Datagrid I have the value for that column as 0 or 1.Now Depending on this 0 and 1 I need to make it checked or un-checked before binding datagrid.How should I go for this?
Also I have a button which is outside the datagrid when I click that button I need Update the Status depending upon the checkbox checked or un-checked.
I hope I have made my self clear.
Thanks in advance.
|
|
|
|
|
To bind the datagrid checkbox control you can use onitemdatabound event of the datagrid. And on submit button what you need to do is to iterate through all the elements of the datagrid find the control get the value and save it.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I am not able to save it.Following is the code:
ArrayList arrStatus = new ArrayList(dgChecklist.Items.Count);
for(int cntRow = 0; cntRow < dgChecklist.Items.Count; cntRow++)<br />
{<br />
<br />
CheckBox chked = (CheckBox)dgChecklist.FindControl("cbStatus"); if(chked.Checked == true)<br />
{<br />
arrStatus.Add(1);<br />
}<br />
else<br />
{<br />
arrStatus.Add(0);<br />
}<br />
}<br />
cchecklist.Status = arrStatus;
It gives runt ime error for the line
CheckBox chked = (CheckBox)dgChecklist.FindControl("cbStatus");
Please help.
Thanks.
|
|
|
|
|
HI
if u dont mind plz send me the code of the routine that u call in the onitemdatabound..and the code where u got the error
Best Regards
|
|
|
|
|
hi,
Use foreach item of the datagrid to get the item details.
also go through this article it will be helpful.
http://www.c-sharpcorner.com/Code/2003/Jan/AccessDataGridVal.asp
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks to both of u.My code is working fine now.
Thanks.
|
|
|
|
|
Hi,
Plz can anybody help me to get codes on credit card processing in billing
Smiles,
Sparkling Star
|
|
|
|
|
|
/* ================================================================
FUNCTION: isCreditCard(st)
INPUT: st - a string representing a credit card number
RETURNS: true, if the credit card number passes the Luhn Mod-10
test.
false, otherwise
================================================================ */
function isCreditCard(st) {
// Encoding only works on cards with less than 19 digits
if (st.length > 19)
return (false);
sum = 0; mul = 1; l = st.length;
for (i = 0; i < l; i++) {
digit = st.substring(l-i-1,l-i);
tproduct = parseInt(digit ,10)*mul;
if (tproduct >= 10)
sum += (tproduct % 10) + 1;
else
sum += tproduct;
if (mul == 1)
mul++;
else
mul--;
}
// Uncomment the following line to help create credit card numbers
// 1. Create a dummy number with a 0 as the last digit
// 2. Examine the sum written out
// 3. Replace the last digit with the difference between the sum and
// the next multiple of 10.
// document.writeln(" Sum = ",sum," ");
// alert("Sum = " + sum);
if ((sum % 10) == 0)
return (true);
else
return (false);
} // END FUNCTION isCreditCard()
------------------------------------------
Boss asked me to Develop in "Java" or "Better"
So Developed in .NET
|
|
|
|
|
Hi,
Thanks alot. i wanted to know about the credit card processing with the gateway
|
|
|
|