|
If your using the asp.net login controls you can use Membership.GetUser().UserName
|
|
|
|
|
Hi all
i have image is tag html
i have problem with event onclick & ondblclick
when click = onclick i will postback to Server by function __doPostback but so i haven't event ondblclick because when fist click it postback to server so not run to second click
How do i get event ondblclick ????
|
|
|
|
|
You can’t execute the click event and double click event simultaneously.
Thomas
|
|
|
|
|
hello all,
am a beginner in asp.net. am creating one portal using asp.net 2005. in my portal there is no database connection. my problem now is how to i distribute this page to every one. my portal contain 4 pages only and i want to refer it like www.internalportalhome.aspx whenever i type this i want to display my portals home page. How can i do this? please help me.
In vb.net, setup and deployment is avalable, in asp.net any thing available like that ? Please help me
|
|
|
|
|
Hi ,
You will need to host your 'portal' on a web server. There are several hosting services available....you can check them out.....
Refer MSDN....
You need to create a web setup project to deploy your application on the web server......
If you fail for the first time , call it version 1.0.
|
|
|
|
|
i have a button in the bottom of the page.after clicking that button the top of the page is coming. i want the position before i click in that button means the bottom of page?how i will get?....
|
|
|
|
|
In the Page directive in HTML view of your page, add the following
SmartNavigation = "True"
If you fail for the first time , call it version 1.0.
|
|
|
|
|
how to load frame on click of tree node
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
i hav a question about the printing of crystal report in pdf format.
i have 6 pages in my report.and when i export it in pdf format the number of pages is 12 in pdf format.it actually expand the size of data.
what i should do so that the number of pages must be same in pdf file
plz help me.
hhhhhhhhhh
|
|
|
|
|
Are you suppressing any section / subreport in your report ?
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
Score it if you like my post
|
|
|
|
|
Hello Every Body,
I am unable to fatch sql connection string from Global.asax
Actually I have defined the sql Connection string in global.asax
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
Application["dbStrConn"] = "server='ABC'; user id='sa'; password='admin'; database='XYZ';";
}
I am unable to understand how to add this connection string to sql datasource.
<asp:SqlDataSource ID="DS" runat="server" ConnectionString="------" ><asp:SqlDataSource>
Please help
REGARDS
RAHUL
rahul saini
|
|
|
|
|
Hi everyone
Does anyone have any idea about login to other website and fetch data from there to make some weekly or monthly report..
for example, login to my broadband account on provider's website and fetch data and make some weekly report.
any idea please?
Thanks,
Regards,
Snehal
|
|
|
|
|
try using WebRequest and WebResponse object
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
Score it if you like my post
|
|
|
|
|
|
i have a tab control on click of that tab i open a web page in Asp.Net. now when
i click on the page and Hit Enter the focus automaticly goes to the First Button on the page.....as this control is Date select Button the date popup opens.In the whole code i hv not set the focus any where and even tabindex of all controls r set to Zero (0). i am not getting why it happening....help me out.
|
|
|
|
|
Have you tried the JavaScript function “control.focus();”
Thomas
|
|
|
|
|
Hello friends...I am using a datalist control to show classifieds. Each category has a list of subcategories.The subcategories are put in a repeater control.Each category may have any no of subcategories. Now when displayed this in internet explorer ..it shows blank spaces between each data item of datalist. When this page is browsed in Mozilla ..the design is spread totally...Is there any solution for this?
|
|
|
|
|
Hi all,
I want to design an application to handle a certification exam for some people using asp.net 2.0.First i do created a login page/register to get the information of the candidate going to appear the exam.After validateing the credentials i want to let the exam seeker to apper a page something like
http://www.4futureengineers.com/tests/csharpetest.htm[^]
i want to keep both prev and next buttons,a button to bookmark the question to refer latter and a submit button to provide the result......same as Microsoft certification exams does.
i want to expose single question at a time.
when i am clicking next i want to store the answer...and update it in the database....Plz send approprete code or URLsto do.
|
|
|
|
|
You can use wizard control available in .net, and on movenext command of wizard you can save the answer in db and can expose the next question.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
You can use wizard control available in .net, and on movenext command of wizard you can save the answer in db and can expose the next question.
it looks like this:
<asp:Wizard ID="wzdCheckOut" runat="server" DisplaySideBar="False" OnActiveStepChanged="wzdCheckOut_ActiveStepChanged"
OnFinishButtonClick="wzdCheckOut_FinishButtonClick" ActiveStepIndex="0" >
<WizardSteps>
<asp:WizardStep ID="wzdStep1" runat="server" >
...............
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
You can use wizard control available in .net, and on movenext command of wizard you can save the answer in db and can expose the next question.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
hi all,
what if we remove web.config or machine.config from the application, then, Is this application will works?
Thanks,
Rahi
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... "
|
|
|
|
|
I dont think, web.config is a mandatory part but if your web site does not have a web.config, web servers default settings will work for ur site also. I read an article, may be that helps you.
http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx
"A smile passed to someone in the morning may travel to thousands of people."
|
|
|
|
|
Yes. It will.....It will inherit the settings defined in the Machine.config file. Whatever we include in the web.config over ride the settings in machine.config.
web.config is specific for application..or sometimes part of the application.
It is not mandatory.
But machine.config file is also absent, then it will not work.
I dont think you can remove Machine.config file without putting at risk all your work.
If you fail for the first time , call it version 1.0.
|
|
|
|
|
Hi,
In my program I have used a logic to open the documents from the user given path.Because of that when one user open a document,others cannot edit. But when I used IE's "open/save" downloading to the client it always come with the prompt "open/save"..I really required to open the document without a prompt but on that time other users also will be able to open the same document.
Please show me the right way...Thanks in advance.
Thank You,
RPM..
|
|
|
|