|
Hi all,
There is a html page which has a html table with some and having bgcolor like 'red','yellow'.
When I print this document with color printer.In print out i do not get any color.
For color i have also used images as background in , but i am not getting any color in print out.
Please give some suggestions.
Thank You.
"Every thing matters in this world but what you think,it matters more.
When thinking changes,the whole world changes."
|
|
|
|
|
In your Internet Explorere go:
Tools->Internet Options->Advanced (tab) ->check Print background colors and images
I Love SQL
|
|
|
|
|
hi everyone
please give me hint how i can do following:
I have inserted data into database using textboxes and database gets updated. Each record contains 5 fields. When I submit data from textboxes I want next page appear and show data.
But wait ......... i need each record as below
Name: abc
address: def street
phone: 1234
email: a11111@gmail.com
above is one record.
I want to if i feed new data in form text boxes. This new page show block of data of each record (new at the top) as given above.
Please guide me how can i do that ... if any article in this regard on code project please mention.
Thank You.
|
|
|
|
|
Hi..
Hi, I am trying to use couple of server controls in my master page and I need to identify the same at the client side(javascript). But in ASP .NET2.0 the server controls are appended with "ctl00_ctl00_" to the control id. How can I solve this problem.
Thanks
Mahesh.J
|
|
|
|
|
You want the .ClientID So on the server side you have code to set a client side variable = myControl.ClientID
something like:
Dim JSString As String = "var myControlID = " & myControl.ClientID & ";"
and on the client side you can refer to myControlID.
-- modified at 12:35 Saturday 28th July, 2007
(and obiously you have to Register that JSString so it shows up on the client side)
|
|
|
|
|
Using VS2005 with SP/1 on XP Pro...
I have a aspx/aspx.cs file pair. When I rebuild the website, I get the following error:
error ASPNET: Make sure that the class defined in this code file matches the "inherits" attribute, and that it extends the correct base class (e.g. Page or UserControl).
Here's the "inherits" line in the "erboard_dashboard.aspx" file:
Inherits="erboard_dashboard"
and here's the class definition in the "erboard_dashboard.aspx.cs" file:
public partial class erboard_dashboard : CBasePage
As you can dsee, everything matches.
The CBasePage base class is there in the project, and the class name is highlighted to inidcate that the IDE knows where it is.
What am I missing?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I've seen this happen when the code behind doesn't define a namespace. If you don't put the code in a namespace, I think the folder names can be prepended to the class name. Try putting a namespace, any namespace, around the class, and then fully qualify it in the asp. So
ASPX:
inherits="JohnRocks.erboard_dashboard
.cs:
namespace JohnRocks
{
class erboard_dashboard : CBasePage
{
and so on. Also, try removing the _ from the class name, if that doesn't work. .NET uses the _ to create class names that include the names of folders, perhaps that is an issue....
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 want to create pop up window in my windows forms through code.im using c#. is there any code for it??
software student
|
|
|
|
|
If you're using Windows Forms, why are you asking in the ASP.NET forum ? Assuming you mean windows forms, you really need to buy a book and read it, this is a very straightforward question. You create a dialog class, create an instance, and call ShowDialog on it.
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 am using ASP.NET with Infragistics for my application....
In the UltraWebGrid, when i click the values in the row should get populated into their appropriate textboxes there...
I am new to Infragistics and need help from someone here...
Thanx in Advance....
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
Dear all,
I am using asp.net2.0,C# , SQl2000.
I am using checkboxlist(whose enableviewstate is true). I access its value(ie item selected) first button click it work fine but on second button click event . it does not hold selected item value.
Please guide me
thanks
imaran khan
|
|
|
|
|
Are you reseting it's data source on postback ? This will lose the selection. use IsPostback to only load it the first time
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,
I am clicking an image in the parent page and pop up window is displayed.
iam disabling the parent window by using
this is working fine in IE
but it is not worinkingw with Fire Fox
Any any body can give me the idea.
plzzzzzzzz
its urgent
thanks in advance
with thanks and regards,
kaushik pulpa
|
|
|
|
|
kaushik490 wrote: plzzzzzzzz
its urgent
ROFLMFAO
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
The self object is not defined in the standard. Use the window object instead.
There is no onblur event on the body element. Use the onblur event on the window object.
kaushik490 wrote: plzzzzzzzz
its urgent
zzzzzzzzzz
how urgent can it be?
---
single minded; short sighted; long gone;
|
|
|
|
|
hi,
i have to realted queries
1> i have two websites, www.main.com and www.second.com in asp.net
i want that when anyone signs in www.main.com and clicks a link to www.second.com then user shud redirect to the requested page without showing the login page of www.second.com
2> how i can see/edit the content of the authentication cookie generated.
Any code / reply / reference welcome
thnx
|
|
|
|
|
Seriously dude. you have been asking this question over, and over, and over. Are you hoping for a different response to the ones you've been given ?
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 )
|
|
|
|
|
Yep, i implemented the things like that, but the problem is that, then i keep the same cookie name for the two sites , it works, but i need to have different names for the cookies for each sites.Then it do not works, any solution to this please
|
|
|
|
|
hi friendz,,
I am using MS.net 1.1
In my application,I am listing the list of employees with name and image in datagrid.I done it successfully.
Now i requiremnt is, when I mouse over that image i want to open a frame over to form(like a child window) and show his details in it.
how i open a frame when mouse over to an image???
thankx in advance
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Vipin dev wrote: how i open a frame when mouse over to an image?
Is there a MouseOver event that can get triggered? If so, have it invoke the frame. I am sure this can be done with some kind of dynamic HTML trick.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi i am using some links in one of my form...,
Those links i want in all my other forms too...,
I dont like to give each and every forms those links...,
So i like to give those links in some javascript....,
To call that javascript in all forms that links want to be come there...,
Its possible?,
This is my code:(That Inside "div" things want to come in script)
How to do that,Plz help me...,
<form id="clock" method="post" runat="server">
<div class="horizontalcssmenu">
<TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 136px; HEIGHT: 15px"
width="700" bgColor="#cde686" border="0">
<TR>
<TD style="WIDTH: 836px">
<ul id="cssmenu1">
<li style="LEFT: 4px; BORDER-LEFT: #202020 1px solid; WIDTH: 144px; TOP: 0px; HEIGHT: 1%">
<A style="WIDTH: 160px; HEIGHT: 1%" href="default.aspx">Master</A>
<ul style="LEFT: 0px; TOP: 0px">
<li>
<A href="frmCompanyMasterDetails.aspx">Master Company</A>
</li>
<li>
<A href="frmProjectMaster.aspx">Master Project</A>
</li>
<li>
<A href="frmprojectrpt.aspx">Report</A>
</li>
</ul>
</li>
<li>
<A href="Login.aspx">LogOut</A>
</li>
</ul>
<br style="CLEAR: left">
</TD>
</TR>
</TABLE>
</div>
<asp:hyperlink id="hplchequeissued" style="Z-INDEX: 102; LEFT: 992px; POSITION: absolute; TOP: 328px" runat="server" ForeColor="Indigo" Width="96px" Height="24px" NavigateUrl="frmChequeissuedstatement.aspx" Visible="False">Cheque Issued</asp:hyperlink>
</form>
Regards,
Magi
|
|
|
|
|
It's possible, but why would you want to use Javascript for that?
Just put the menu in a user control.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Mr.Guffa,
I need it in script only...,
Becoz The links will come inside the and - tag...,
Regards,
Magi
|
|
|
|
|
Hi all
In a data grid i have two such columns where it acts as a link to a different page. But problem is since i have two response.redirect statements its executing the first one only. My condition is after redirecting to different page i am populating that page with some details( example if i am clicking on cand id 1 then in the next page detail will of cand whose id is 1) so i am using session varible. The code what wrote is
If (......I want the condition.....) Then
lbCand_Id = e.Item.FindControl("Label5")
Session("CAND_ID") = lbCand_Id.Text
Response.Redirect("Update_Feedback.aspx")
Else
lbCand_Id1 = e.Item.FindControl("Label1")
Session("Cand_ID1") = lbCand_Id1.Text
Response.Redirect("Summary.aspx")
End If
Pl tel me in if condition what i have to write like datagrid1.item... something like that.so that i can execute both the conditions.
Thanks and Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
Hi in datagrid template column u have the hyper link or outside the grid u have?,
If inside the grid u have the hyperlink,then u can access the link using this code:
For Each MainGRD As DataGridItem In Me.dgrdmain.Items
dim Candid as HyperLink=ctype(maingrd.FindControl("Idofhyperlink"),HyperLink)
Next
Here candid is the hyperlink now...,
U can use ur if condition based on that candid...,
Did u got it?,
Regards,
Magi
|
|
|
|