|
try this
btn.Attributes.Add("onclick", "return validate();");
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
First be sure you had written this code in your
section
and then try to call submit function in form's onsubmit event like
it will be better to call function here. Because when u call func here it will call it before submitting the data while in buttons click event after submitting data.
I hope it will work fine. Other wise put your code for both file here.
|
|
|
|
|
I have created one website on .net 2005 On Local system.now i want to host my website on IIS seever.Wt i tried is i created one virtual directory and Copied al files to that directory then it gives the error page can't be displayed.Then i created new website on IIS and added those files to the website but while executing the website it gives me message unable to start debugging on the server "See ATL server debugging topic".
Wt could be the reason??
GIRISH
|
|
|
|
|
Try after re register your framework:
run this command-
C:\Windows\Microsoft.net\framework\v1.1.4322\aspnet_regiis.exe
and also make sure in config file:
<compilation defaultLanguage="vb/C#" debug="true" />
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
|
In Your Code,u r not provide the code functionality , What exactly u want ! that is,try to write code for capture first. than save the type as *.*|*.*| by using filter property of save dialog box.
Thanks & Regards
Tarini Singh
Sr. Software Engineer. (IT)
ZENTA
|
|
|
|
|
Hi Piyush,
Find it on Google you have found many articles for capturing the screen shots.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
ok thanku i have done
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Why on earth did you ask this in the ASP.NET forum ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I really have doubt on how that guy became a senior software developer (see his signature) ? May be all other programmers in that company will be fools.
|
|
|
|
|
It's all relative
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi friend's
i want to allow my users to create subdomain automatically by entering a specific name and pressing a button.and then when users call his/her subdomain address,my program redirect him/her to specific address.
for example:
a user create a subdomain [USER.mysite.com]
and when he/she call this subdomain i want to redirect him/her to [www.mysite.com/001.html]page.
please help me to do it...or guide me that how to learn it
thank you
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
mr.mohsen wrote: and when he/she call this subdomain i want to redirect him/her to [www.mysite.com/001.html]page.
ASP.NET allows different types of URL Rewriting techniques. But I don't think that you can rewrite a URL like www.subdomain.mydomain.com since subdomain management is upto your service provider. Your domain has to support subdomain facility.
|
|
|
|
|
I want to know what are differences between ASP.NET 2.0 AJAX Extensions and ASP.Net Atlas
I have a problem that is first I installed ASP.NET 2.0 AJAX Extensions in my system and I used ScriptManager, UpdatePanel controls in my project.
But it gave some errors while running the application.
So I checked some other sample applications of my friend, he used Microsoft.Web.Atlas.dll in his project. So I also installed the setup for Atlas. But during installation process, it gave me error that
"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of the product use Add/Remove Programs in the Control Panel."
So is it not possible to have both in the system? Which one is latest (ASP.Net 2.0 AJAX Extensions 1.0 or ASP.NET Atlas July 2006 CTP)
Can anyone kindly help me regarding this? I would be very thankful to you friends.
I am looking forward to hear ur reply as soon as possible.
Thanks in advance.
Thankfully,
jm
|
|
|
|
|
The Atlas ddl is the beta version of the ASP.NET 2.0 AJAX Extension 1.0 (Atlas is the project name)
Therefore you need the ASP.NET 2.0 AJAX Extension 1.0.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
jmavn wrote: I want to know what are differences between ASP.NET 2.0 AJAX Extensions and ASP.Net Atlas
I think ATLAS is the former code name of ASP.NET AJAX. ASP.NET AJAX extensions are server extensions which provides support for AjaxControlToolkit controls.
jmavn wrote: Which one is latest (ASP.Net 2.0 AJAX Extensions 1.0 or ASP.NET Atlas July 2006 CTP)
ATLAS libraries are obsolete. You can go with AJAX extensions and AJAX toolkit library
|
|
|
|
|
i have a TreeView in my page and i have a table in my database that has these columns: RecordID, CategoryID, CategoryName, ParentID
how i can bind categories to this treeview that it first show parents then their childs?
thank you
|
|
|
|
|
According to me you can not bind it but you can create mannually. Please go through this URL http://www.15seconds.com/issue/041117.htm or find it on Google.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
hi
call LoadTree() in
if(!ispostBack)
{
LoadTree()
}
here i have conside parentCat ID of Parebts is '-1'
public void LoadTree()
{
trvCategories.Nodes.Clear();
string id = "";
dataset myDataSet;
myDataSet= GetCategoryByParentId(Convert.ToInt32("-1"));
for (int i = 0; i < myDataSet.Tables[0].Rows.Count; i++)
{
id = myDataSet.Tables[0].Rows[i]["Name"].ToString();
TreeNode myNode = new TreeNode();
myNode.Text = id;
myNode.Value = myDataSet.Tables[0].Rows[i]["CategoryID"].ToString();
// myNode.CollapseAll();
trvCategories.Nodes.Add(myNode);
childnode(Convert.ToInt32(myDataSet.Tables[0].Rows[i]["CategoryID"].ToString()), myNode);
}
}
public void childnode(int id, TreeNode tn)
{
DataSet myDataSet = GetChildCategoryByParentId(id);
for (int j = 0; j < myDataSet.Tables[0].Rows.Count; j++)
{
string rootid = myDataSet.Tables[0].Rows[j]["Name"].ToString();
TreeNode tnchild = new TreeNode();
tnchild.Text = Convert.ToString(rootid);
tnchild.Value = myDataSet.Tables[0].Rows[j]["CategoryID"].ToString();
tnchild.CollapseAll();
tn.ChildNodes.Add(tnchild);
childnode(Convert.ToInt32(myDataSet.Tables[0].Rows[j]["CategoryID"].ToString()), tnchild);
}
}
Jintal Patel
|
|
|
|
|
Hi all,
My self Tarun Dudhatra. I am working as a web developer. In my company I am developing one application some what like online antakshari. In that I want to record the sound for participant and I dont know any thing about how to record the sound in asp.net 2.0(C#). If anybody know or have some idea pls tell me.
Thanks a lot.
|
|
|
|
|
To record sound, you need to write an applet that runs on the client side and uploads/captures the voice. Unless Windows Media Player can be made to do it, embedded in the page. There will be no ASP.NET code involved.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How about asking users to record their voice by sound recorder program and upload it for you?
don't laugh i'm serious!!
|
|
|
|
|
I want to put a timer on my page for the elapsed time how can I do that?
BiG RaLpH
|
|
|
|
|
To do that, you would write it in javascript to run on the client.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|