|
Dear All
i M loading a xml file from javascript..that is working in IE. but its not working Mozila..
this is the code
function importXML()
{
if (document.implementation && document.implementation.createDocument)
{
xmlDescription = document.implementation.createDocument("", "", null);
xmlDescription.onload = getDescription;
xmlDoc = document.implementation.createDocument("", "", null);
xmlDoc.onload = getData;
}
else if (window.ActiveXObject)
{
xmlDescription = new ActiveXObject("Microsoft.XMLDOM");
xmlDescription.onreadystatechange = function ()
{
if (xmlDescription.readyState == 4) getDescription()
};
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.onreadystatechange = function ()
{
if (xmlDoc.readyState == 4) getData()
};
}
else
{
alert('Your browser can\'t handle this script');
return;
}
xmlDescription.load("details.xml");
xmlDoc.load("settings.xml");
}
becouse of activex controls is not working in Mozila...
any solution for that to including activex control in mozila....?????
or any alternate way to load xml file from javasript..??????
Please....
Regards
Rajeesh MP
|
|
|
|
|
See if this[^] helps. Install FireBug and debug the JS code.
|
|
|
|
|
Hi Navneeth
that is not working
|
|
|
|
|
Hi.
I am new to developing web applications in asp.net visual basic and need some help. I have a page (home.aspx) and I want to show outlook express on that page, for example inbox,new email etc. Is this possible? if so, how would I do this?
please email me. thanks.
|
|
|
|
|
Hi All,
Can anybody help me in finding out the code for Exporting the data in DataSet to microsoft access . ITS VERY URGENT.
Thanks
murali
|
|
|
|
|
Nothing is Agent here. Refrain from using such words here.
To Saving the Data from the Dataset to Access table is simple.
see this
http://msdn.microsoft.com/en-us/library/aa288452(VS.71).aspx[^]
Hope it Helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi ,
Thanks for the need. This is working but How to Export the DataSet to .mdb format and also save on the desktop.
murali
|
|
|
|
|
hi ballameharmurali
Really you have to be careful when using terms like Export and Dataset.
Firstly an .mdb Format is a Format used for a Access Database. Now in .NET a Dataset can have a Table and more than one table. a Dataset is not a Database in .NET.
When you Save the data in the Dataset , you will be saving it in a table, and that table belongs to a Database.
Secondly you wrote: and also save on the desktop.
I don't really understand what you mean here, you are Confusing me.
Please Clarify exactly what you want
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
HI ,
We want to Export the Data from DataGrid to MS-Access in ASP.NET.
Actually I want the code in VB.NET.
Thanks
|
|
|
|
|
ballameharmurali
I Actually don't have VB.NET installed in my Computer,VB.NET and C# have similar Classes so converting the code its very Simple. I need to Clarify something before i go for lunch.
I have the Following Article
http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx[^]
I wrote it with VB.NET 2003 and i have used Wizards a lot there and i was using SOL. So the Same way you save to SQL is the same way you save to Access.
Tell me if i misunderstood what you are saying
Looking Forward for your reply
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi ,
Actually the code is bit lengthy and much complicated .It is better if u provide a simple code.
I want to export datagrid data to Acess just like export to excel.I want atleast c# code.
Thanks
murali
|
|
|
|
|
How to write data source connection in Web config file?
|
|
|
|
|
Karthick_gc wrote: data source connection in Web config file?
What do you mean by that? Please buy a book and learn ASP.NET.
|
|
|
|
|
Do u mean you want to write connection string,
u can check site http://www.connectionstrings.com
|
|
|
|
|
Before you Post in a Forum, you must first Google.
Here is your Answer
http://www.codeproject.com/KB/tips/StoringConstring.aspx[^]
Hope it helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
There is no Application config file. There s a Web config file Like this.
In this how to add connection coding in Connection String Tag?
;
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings/>
<connectionstrings>;
|
|
|
|
|
For Web.Config and App.Config is the Same nothing Changes. See her Below
<connectionstrings>
<add>
name="NorthwindConnectionString"
connectionString="Data Source=serverName;Initial
Catalog=Northwind;Persist Security Info=True;User
ID=userName;Password=password"
providerName="System.Data.SqlClient"
/>
</add></connectionstrings>
System.Configuration.Configuration rootWebConfig =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/MyWebSiteRoot");
System.Configuration.ConnectionStringSettings connString;
if (0 < rootWebConfig.ConnectionStrings.ConnectionStrings.Count)
{
connString =
rootWebConfig.ConnectionStrings.ConnectionStrings["NorthwindConnectionString"];
if (null != connString)
Console.WriteLine("Northwind connection string = \"{0}\"",
connString.ConnectionString);
else
Console.WriteLine("No Northwind connection string");
}
Am Sorry about the Formating , i forgot how to turn on the "<" here.
Hope this Helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
I'm making bulletin board
Which is located in UpdatePanel.
Most function plays well.
But there are some problem in the custom control(paging control exactly)
This control's linkbutton calls page postback action(not script callback)
I'd like to know which code do I have to add to
my paging custom conrol calls script callback
The rendering mehtod of the custom conrol like this
protected override void Render(HtmlTextWriter output)
{
base.Render(output);
string printHTML = "";
for(int i=iStartPage;i<iStartPage+10;i++)
{
printHTML += "<a href=\"" + Page.ClientScript.GetPostBackClientHyperlink(this, i.ToString()) + "\">" + i + "</a>";
}
output.Write(printHTML);
}
|
|
|
|
|
I found the answer from http://forum.asp.net
The entire output script of custom control must be wrapped
in a some wrapping tag(a, div, etc..), and also the attribute must be given to it
Just like this
protected override void Render(HtmlTextWriter output)
{
base.Render(output);
string printHTML = "";
output.AddAttribute(HtmlTextWriterAttribute.Id,this.ClientID);
output.RenderBeginTag(HtmlTextWriterTag.Div);
for(int i=iStartPage;i<iStartPage+10;i++)
{
printHTML += "<a href=\"" + Page.ClientScript.GetPostBackClientHyperlink(this, i.ToString()) + "\">" + i + "</a>"; }
output.Write(printHTML);
output.RenderEndTag();
}
|
|
|
|
|
Hi all,
What are all the content involved in Content Management system?
For ex, .Net contains Xml, linq, sliverlight, ado.net etc.. like that.
Thanks in advance.
|
|
|
|
|
There is no such thing a sliverlight, and a CMS and .NET are two totally different things.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
pl tell me the contents of CMS...
|
|
|
|
|
How to Implement alert box in C#.net?
|
|
|
|
|
Try something like this:
Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "MyKey", "alert('Hii');", true);
Hope it will work in your case.
|
|
|
|
|
Hi,
please help me...
my javascript code is
var tdValue = TableId.cells(0).innerText;
it's working in IE Browser but not in other browsers like mozilla...
thanks in advance
icanmakeiteasy
|
|
|
|