|
Replies goes in the message board, not to some e-mail. If you are too lazy to use the message board, why would anybody bother to reply?
The difference in rendering is most likely because you rely on some of the rendering bugs in Internet Explorer in your layout. As the Mozilla browser doesn't have those bugs, the page is actually rendered correctly, eventhough not as you intended. This is very common when people develop web applications for Internet Explorer and not testing them in any other browser.
The problems with the Javascripts is probably because you used some of the non-standard additions that Internet Explorer has. For example, the all collection only exists in Internet Explorer.
If you want your application to work in most browsers, you have to stick to the standards. Unfortunately, Internet Explorer is the browsers that is the worst when it comes to following standards, at least version 6.
Open up the Javascript/Error console in Mozilla, it will give you helpful information about errors in Javascript, markup and css.
---
b { font-weight: normal; }
|
|
|
|
|
i m using threading in asp.net
and when writing into file on the server
there occurs permission error.
"Access to the path C:... is denied."
its correctly runs outside of threading without any errors
how can i give permission?
please help me?
|
|
|
|
|
hai,
iam posting question cont'ly
one more issue raised
* i taken tag
and i put all text boxes in table tag
iam not able to retrieve the textbox values using java script function
but if i keep the text boxes outside the table tag iam able to retrive the values
iam using c# in asp.net and server button control once i submit i need to check all tbox's provided all textboxes in table tag
|
|
|
|
|
after page is compiled look the source of page
and is the tbox's id is correctly named for retreiving tbox from js?
|
|
|
|
|
Hi
I have 2 page 1)Master 2)Pop-Up(window.open). Now i open 2 of this master page. From 1 of them i open this popup which is part of same session and copy the url and past it in other opened master page which has different session. Now if i press Go the the current session is being modified by the popup-ups session.
Why is it so ?? Why session variable become null. I have checked google and taken all possible measure still no luck.
Pls help me.
Thanks in advance.
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I have a design task! Please advice me which are the technologies to use.
The simple block diagram:
____________ ______________________ _________________
| | | | | |
|TCP Server |----------|Web Server (asp.net) |---------------| Web browser |
| socket | | c# | | |
____________ ______________________ ________________
The web server has to connect to TCP server socket as a client.
The data sent by TCP server has to be forwarded to appropriate
browser(every browser has a unique number & this number will be
attached in data). TCP server sends data asynchronously.
It should be possible to send a data from web server to TCP server
on a request from browser(along with unique number).
Please guide me how to forward the data received from TCP server
to unique browser.
Thanks in advance,
Nissar
Nissar
|
|
|
|
|
I am having two problems in ASP.NET with C#, I welcome any help and suggestions.
1) I have a image and I want it to be resized to the size of cell of the table in HTML.
2) I want to create following structure, -
|*| The Quick Brown Fox Jumps Right |*|
|*| Over The Lazy Dog. The Quick Br-|*|
|*| own Fox Jumps Right Over The La-|*|
|*| zy Dog. |*|
|*===================================*|
|*| The Quick Brown Fox Jumps Right |*|
|*| Over The Lazy Dog. The Quick Br-|*|
|*| own Fox Jumps Right Over The La-|*|
|*| zy Dog. |*|
That means text inside images of borader. I want to know how to do this.
Thanks
Kumar
|
|
|
|
|
I want some code or Help that When a Button pressed All of imageButtons delete
How can i do this ??
With thanks..
MHF
|
|
|
|
|
Why do you want to delete them? You can hide them on click of a button.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi
How to have checkbox that is checked or unchecked depending on a field value being in the Database, and then allow the user to click on it and record the new checkbox state in the database record for that row.can any one help me. i want this in C#.
thanks
vijay
|
|
|
|
|
Open notepad, enter the following code and save the file "YourFileName.cs" without the quote marks. This should ensure using C#.
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleTest
{
class Program
{
static void Main(string[] args)
{
}
}
}
HTH :P
"When I get a little money, I buy books and if any is left, I buy food and clothes." --Erasmus
|
|
|
|
|
Hi guys
I have to fetch data from my database in treeview pattern. If anyone is familiar with this please help me out. And i want to make that treeview control sizeable. I mean like property and solution explorer in Visual Studio.So that any one can make it hide or change its size
please help me
Dj Rock
|
|
|
|
|
Include Microsoft.Web.UI.WebControls.dll in your project.
For runtime addition of nodes for TreeView control do following steps
//On aspx page register TreeView as
<%@ Page language="c#" Codebehind="TreeControl.aspx.cs" AutoEventWireup="false" Inherits="UserControlApplication.TreeControl" %>
//Treeview Control
<tc:treeview class="link" id="tree1" runat="server" indent="15">
//Add the root node for User Control Tree1 in .cs file
TreeNode tNode = new TreeNode();
tNode.Text="Root";
tree1.Nodes.Add(tNode);
//Add Child Node to root node tNode
TreeNode tChileNode1 = new TreeNode();
tChileNode1.Text = str;//This string is the information retrieved form database
tNode.Nodes.Add(tChileNode1);
#Abhi#
|
|
|
|
|
hey abhi thank you so much
i was not getting value before but now i made some changes and then its working great
Thanks once again
|
|
|
|
|
hai every one
im doing asp web application.im using asp control for file uploading that is <asp:fileupload id="fileup" runat="server">. it will create one browse button. if i click that browse button one remove label should be visible. how i do this.please any one help me?
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
i m facing problem when uploading excel file from my local system to web server.can any one plz give me solution this problem.
Thank you
srinivas
|
|
|
|
|
Might help if you can tell us what the problem is. What I have done in the past is to upload the file, then read it using OLE DB.
|
|
|
|
|
Launch Excel 2003 then open the workbook file you'd like to upload. Choose from the menu File-->Save as Web Page.
Then using IE7(or IE6 if you want) direct your browser to the ftp://your_ftp_addy . Drag the Excel file that you have saved as a web page from your machine directory to the web directory of your choice.
The rest is simple...or should be intuitive.
"When I get a little money, I buy books and if any is left, I buy food and clothes." --Erasmus
|
|
|
|
|
Hello,
I have created a function which creates a DataTable from a Database.
However, I want to be able to use an Access or aSQL database.
Do I need to create 2 complete different functions?
The method is the same, only the types change.
Here is my code:
' Define connection
Dim connection As New SqlClient.SqlConnection(connectionString.ToString)
' Define command
Dim command As New SqlClient.SqlCommand
With command
.CommandText = "GetRecords"
.Connection = connection
.CommandType = CommandType.StoredProcedure
End With
' Add command parameters
With command.Parameters
.Add(New SqlClient.SqlParameter("@Value", Value))
End With
connection.Open()
...
Create DataTable
...
connection.Close()
Thanks,
Miguel
|
|
|
|
|
In the data access layer create data objects of SQL and Access depending on the type and in the business layer access the object through nterfaces IDataSource, ICommand etc.
|
|
|
|
|
shapper wrote: ' Define connection
Dim connection As New SqlClient.SqlConnection(connectionString.ToString)
' Define command
Dim command As New SqlClient.SqlCommand
With command
.CommandText = "GetRecords"
.Connection = connection
.CommandType = CommandType.StoredProcedure
End With
' Add command parameters
With command.Parameters
.Add(New SqlClient.SqlParameter("@Value", Value))
End With
connection.Open()
...
Create DataTable
...
connection.Close()
That pro'ly will not work if you're looking to use a Microsoft Access database.
Here's a bit of code for you that should help connect to your Access db.
/ Assumes connectionString is a valid connection string.<br />
using (OleDbConnection connection = <br />
new OleDbConnection(connectionString))<br />
{<br />
connection.Open();<br />
Remember to add the OleDb namespace with the following: using System.Data.OleDb; or all your coding will be for naught.
For further reading on the subject direct your browser of choice (I recommend IE7) to http://msdn2.microsoft.com/en-us/library/system.data.oledb.aspx[^]
Good Luck!
Jerry Hammond
Applications Instructor
"When I get a little money, I buy books and if any is left, I buy food and clothes." --Erasmus
|
|
|
|
|
I am having with problem in browsing multidimensional data cube from asp.net (in c#)pages. could u help me please with sending those all important material to my email id :- dhami_524@hotmail.com.
it's very much urgent to me
with best regard
bct524
naresh is testing the site.
|
|
|
|
|
The purpose of this message board is to post messages here, not email correspondence. This way, others can use this board as a reference, thus minimizing repeat questions.
|
|
|
|
|
I have an ASP.Net web application with a few pages. I have centered the buttons, textboxes, and images on the pages at the resolution of 1024 X 768. I use VS2003 Designer to create the pages. The problem I have is that whenever the pages are displayed at a different resolution, like 800 X 600 or 1280 X 1024 the buttons, textboxes, and images are not displayed correctly. They are too large and off center at the lower resolution and too small and off center at the higher resolution. Is there a way for me to display my pages correctly at whatever the resolution is using C# in the codebehind, set some property for the controls, or using javascript to adjust the controls at the appropriate resolution? Any help would be appreciated, thanks.
|
|
|
|