|
Use HtmlAnchorTag instead of Button and give Target Property as '_Blank'.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
My Button is asp imagebutton, how do I set that property then???
|
|
|
|
|
Hi All,
Please Its very Urgent.
How Can I Format Todays date as 18.09.07 from the Current System Date in Asp.
Also How can I find the Yesterday's Date in the Same format from System Date.
Thanks in Advance.
|
|
|
|
|
Hi,
try this
For Current Date:
select convert(varchar(20),getdate(),104)
For Yesterday's Date:
select convert(varchar(20),getdate()-1,104)
Hope this will help you.
Regards
vinita
|
|
|
|
|
string today=String.Format("{0:dd.MM.yy}",DateTime.Now);<br />
string yesterday=String.Format("{0:dd.MM.yy}",DateTime.Now.AddDays(-1));
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
check this link[^]
Ramana
|
|
|
|
|
Hi All,
I have one WebForm(.aspx) I m using this page for showing the reports. In that page there are two(2) DataGrid and 5 Labels.All Data is coming dynamically.There is one Button.
On click of that Button, I m sending mail of this Webform into PDF format . Now i dnt know how to convert my aspx Webform to PDF. Is there any inbuilt class into .net 1.1???? Plz give me detail coding.
Plz help me. I m searching this thing from many days.
Thank you................
vinita
|
|
|
|
|
If I are running asp.net under Windows XP, how can i add the ASPNET account to the .mdb file
Soniagupta1@yahoo.co.in
|
|
|
|
|
Dear frineds,
i have a created a setup project for a web application.
in the web folder we have an option to set port no. when i set this as 80, this setup port no is shown in the form while installing.
so there is an option to modify also.
but i want this port no read at run time and assign to it.
if u take setup specifiying as 80 then it remains as 80 in other systems which has diffrent port.
is there any way to set this port no to that form.
any idea? or link.
by
joe
|
|
|
|
|
Dear all,
I want to change the internet explorer icon of Address bar in IE and Mozilla.
So, I am using the code...
Where favicon.ico is also 16x16 size.
Its working with Mozilla 2.0 and IE 7.0. BUT not working in IE 6.0.
can you pls give me the solution.
Regards
biswassagar@inbox.com
|
|
|
|
|
want to access value of text box on another page
without post backurl.
i found it out
bt its nt workin
hdnUserName.Value = username;
dis is how i assigned d value
Server .Transfer ("VerifyUser.aspx?Username=" + username, true );
dis is how i transeferred ctrl
hdnUserName.Value = Request.Form["hdnUserName"];
its not working
i dont want to use session
coz there r many values to transfer
there is no error bt as a result d value of hdnUserName.Value=""
the value is not retained
using postbackurl
i done dat
bt
if we mention postback url den wot abt button click event?
Thnx in adv.
|
|
|
|
|
When you use Server.Transfer then Request.Form["hdnUserName"] will be not work
Use Context.Items collection
first Add the value in Cotext.Items collection then access it on Transfered form.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi,
I have a table server control and its rows are dynamically generated and also in each row I am dynamically adding dropdownlist. But later when I am trying to find the controls inside the table
it is showing null. how can i find control inside a table.
I am using the code:
int cnt;
cnt = Table1.Rows.Count;
for (int i = 1; i <= cnt; i++)
{
string strtime;
DropDownList ddlh = new DropDownList();
DropDownList ddlm = new DropDownList();
ddlh = (DropDownList)Table1.Rows[i].FindControl("ddlthr");
ddlm = (DropDownList)Table1.Rows[i].FindControl("ddltmin");
}
Thanks & Regards
Mishra
|
|
|
|
|
HI!1
Actually i am working on a website . The website will show news headlines
which will be updated daily .But this updation can also be done by a person who is computer literate but not among developers or technical background .
So how can i do this ..
plz hlp me out .
Regards,
Mrinal
|
|
|
|
|
Use windows Live writer and for that create an Application.
SSK.
|
|
|
|
|
Thanks but this is gud for blogs .
What i want to know is that often we find on newspaper sites daily headlines so how are they updated daily without codebeing updated daily and on clicking the headline respective full article opens .. How is that done
plz help me out
Mrinal
|
|
|
|
|
Plz somebody suggest me
Mrinal
|
|
|
|
|
I Have a page with a css file. I am using styleSheetTheme property in web.config.
Haw can i programaticly change css for a certan page
|
|
|
|
|
this.Page.StyleSheetTheme="filename.css";
Best regard
Pathan
---------------------------------------------------
|
|
|
|
|
Compile error:
The StyleSheetTheme property cannot be set, please override the property instead.
I don't know how to override it, can you help?
|
|
|
|
|
Hi all,
I need to make textbox cum combo box where I can search for a key. Like we have in word text formatting ie; Suppose I have to change the font style from Arial to Verdana then I just type V and I get the list all style starting with V.
Same thing I need to implement thro AJAX AutoCompleteExtender and CascadingDropDown or any other way. I am using ASP.NET 2.0 (C#)
Please help me with this, how do I start....
Thanks in advance...
|
|
|
|
|
hi there,
i need to know how to disable button when page load and should be enable once the user keyin the textbox. any sample code will be appreciated.
regards
Ybasha
|
|
|
|
|
Write Javascript function on textbox focus.
|
|
|
|
|
ha ha ha very funny dont u think i dont know that, am looking for script sample code. i tried the below one not working.
btnSubmit.Attributes.Add("onclick", "this.disabled=true;" + GetPostBackEventReference(btnSubmit).ToString());
|
|
|
|
|
Very Good but as u said u want to make it enable when user keyin in textbox then why r u adding javascript code on button??? Try to
Textbox1.Attributes.Add("onfocus", "GetEnable();");
and
function GetEnable()
{
document.getclientElementID("Button1").disable = false;
}
Just check the syntax...
|
|
|
|