|
a regex is still the best way to do that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
I developed web application using asp.net 2.0 ,C#.
My application looks fine(Display wise) in IE6.0 ,but I run same application in IE7 the controls like combo box are not displays properly..
Need help !!
Thanks in advance.
parthiban
|
|
|
|
|
Sounds like you have css issues. Try running it on FireFox and see how bad it looks.
Seriously, getting your styling right for all browsers is a major undertaking.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Visual Studio Generates style tags when you drag drop any control, so just remove the style tags which are generated by the IDE.
Hope this will help you out
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
I have a template Header as below
<asp:templatefield headertext="Exclude Language">
...
</asp:templatefield>
How can I change the header text on Runtime. I want to do it with C#
Regards,
Pavas
|
|
|
|
|
|
Use this line of code where you want to change the HeaderText
"Cell[0]" where0 is the index of the cell
GridView1.HeaderRow.Cells[0].Text = "Usman";
Best of Luck
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
hi all
can anyone tell me what type of styles are used to show the color as glowing(like in yahoo front page)and also the color codes of the colors used in the yahoo front page.
pintoo
|
|
|
|
|
If the color changes, it's being done with javascript, no style or color changes by itself.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hey thanx for the reply.by the way i didn't asked about how the color changes.i want to design like yahoo menu bars.is that menu bars are images designed using some design tools (like flash,photoshop)or designed as aspx pages.
pintoo
|
|
|
|
|
That's CSS. you create a one pixel wide bitmap with the gradient and make it the background image of the button, repeating.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
chithra
The glowing effect is created with images, have a look at the css for the site and you will find the url of the images.
For example here is the header image[^]. You can create this type of image very easily using Photoshop etc but I usually use The Gimp[^] as its free / open source.
|
|
|
|
|
there are some gradient effects in CSS you can also use that if you dont want to use the Image.
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
Hi,
I came across this link and would like to use it.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx
but I am using visual studio .net 2005 (.net 2.0) how could i do something similar. any web links would be really helpful
thanks in forward.
cheers
|
|
|
|
|
You have to install ASP.NET Ajax and Toolkit in your machine. then, create the ASP.NET Ajax website so you will be able to use this calendar control. I suggest you to take a look at QuickStart tutorial of ASP.NET Ajax..
|
|
|
|
|
you need to install ajax extensions for visual studio 2005
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
Hi! I installed ajax extension but i cant create web applications. is there any tutorials on creating web application using ajax template?
|
|
|
|
|
uglyeyes wrote: is there any tutorials on creating web application using ajax template?
As I told you in my previous thread, you can find the tutorial in QuickStart of ASP.NET Ajax.
|
|
|
|
|
Hi I was following this link
http://asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx and did exactly what they mentioned but when adding a AjaxControlToolkit.dll i get an error msg that says.
There was an error loading types from assembly ....Bin\AjaxControlToolkit.dll
Counld not load file or assembly 'System.web.extensions, version=1.0.61025.0...
not sure what i am doing wrong.
please help
|
|
|
|
|
The project type that you are using should be ASP.NET Ajax project type.. Try to create new ASP.NET ajax and try to use AjaxControlToolkit.dll.. and see whether you are able to use that dll or not.. let us know the result..
|
|
|
|
|
Hi,
I use FilePrint() API which print file directly from code,but I want to show print dialog box to select printer before printing the content.
Please share ur idea with me.
Thanks,
Nagraj
|
|
|
|
|
AFAIK, You can use window.print(); Javascript if you want to show the printer dialog. Check-out this example[^]
|
|
|
|
|
HI,
My problem is to print microsoft project file through code.I can do it by using Fileprint API but it doesn't show dialog box.
As u suggestion I can't call Fileprint API in javascript and print it,so only Window.print() will not serve my purpose.
Thanks,
Nagraj.
|
|
|
|
|
Could any one please help me out. Actually i want to insert values from two different text boxes into a single column of database as different rows in C#, it may be MySql or SQL Server Database. Currently what i am doing is i am inserting values like this
private void InsertRecord()
{
try
{
string strInsert = "insert into Quotation" +
"(JobNum, CompNameAdd)"
+ "values('" + this.txtJobNum.Text + "','"
+ this.txtCompNameAdd.Text + "')";
{
MySqlCommand command = new MySqlCommand(strInsert, Quotation.con);
Quotation.dQuotationAdapter.InsertCommand = command;
//Insert new record
Quotation.dQuotationAdapter.InsertCommand.ExecuteNonQuery();
MessageBox.Show("New Record Saved Successfully");
RefreshRecord();
ClearTextBoxes();
this.txtCompNameAdd.Focus();
}
In this type of code i can not insert values from two different text boxes into a single column of Database Table.
Please Help..
Imran
|
|
|
|
|
This will create one new row. To create a column, you need to insert two rows, into a table that only takes one value. Also, your code is a disaster on many levels, if I visit your website, I can delete your entire database, very easily. Read up on SQL injection attacks.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|