|
Don't know if it works in all browsers, but the following should do something:
meta = document.createElement('meta');
meta.name = "foo";
meta.content = "bar
document.getElementsByTagName('head').item(0).appendChild(meta);
|
|
|
|
|
Hi...
I am developing a web application through .Net 2008 (framework 3.5).
I have one crystal report in that , I get the crystal report loaded in crystal viewer, but when I export it or print it it gives me following error:
"Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\DOCUME~1\user\LOCALS~1\Temp\rptPayslipZIUS {DBB80325-B90D-4181-9AA3-FD44D878254D}.rpt: Unable to connect: incorrect log on parameters."
I suppose that this is because the page is posted back , once i click print or export button and once it comes back it does not find data source to bind itself...
What could be the solution for this..
Is there any property to be handled for it...
Please give me the solution
Thanks...
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
|
hi all
what is the Progam that the developers used to build websites like yahoo and msn and google
thank's all
-*-*-*-*-*-*-*-*-*
To Be Or Not To Be
(KARFER)
-*-*-*-*-*-*-*-*-*
|
|
|
|
|
if you are good, notepad
Seriously, there are a multitude of progran=mming languages and development environments for developing websites, its a matter of choice (usually the client's, not yours!).
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Here.[^]
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Real programmers use VI
No, there are many WYSIWYG tools, such as dreamweaver, but this is purely from a graphical "how it will look like" point of view.
The backend is either done in an IDE such as visual studio (though, i don't think yahoo nor google run anything on C# or VB ), or in plain text editors.
|
|
|
|
|
Hi
Can any one let me know, How to change the color of Div based scrolls in Mozilla firs fox ?, i have just implemented it it's working fine, but it's not working in Mozilla Firefox, thanks in advance, kinly reply ASAP,
regards,
|
|
|
|
|
King Shez wrote: How to change the color of Div based scrolls in Mozilla firs fox ?
You don't. That's an IE-specific hack, and is not supported elsewhere. If you really, really need it, you can build fake scrollbars using HTML and JS - but you should avoid that if at all possible.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Can you provide me with the code how to do it with javascript and html ?
|
|
|
|
|
|
Hi
Abhijeet thanks for ur reply man but iwas not able to find any thing on google with javascript, do you have any link or any javascript code ?
|
|
|
|
|
Hi
I have a project that when a certain event occurs in the websit a report is generated
with crystal reports and then loaded on another page which opens infront of the parent page,
is there some way that i can disable the parent page while the child page is still loading , without using
a modal dialog .??
A proplem I've encountered with the modal dialog is that when i want to print or download the report another page opens when I click the export or print button on the reportviewer.
modified on Thursday, December 18, 2008 5:51 AM
|
|
|
|
|
The thing i was actually looking for was javascript thickbox , it grays out the main page, lets it look like its disabled
|
|
|
|
|
Is it possible to embed a MPC into a html? If not, is there any other media player (that supports .flv)can be insert into a html?
Thanks
Merry X'mas.... ^_^
|
|
|
|
|
|
I am getting this error in my browser when I debug my site, code is at the bottom.
The build works and no errors show in the 2008 web developer, yet this shows up when I try to view. I don't understand because if I was missing a reference that contained 'SearchYouTubeSource' wouldn't it show an error ? Anybody can explain this for me? Thanks
(By the way I know I have no a href links in my body)
_______________________________________________
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'SearchYouTubeSource' could not be found.]
System.Web.UI.WebControls.ObjectDataSourceView.GetType(String typeName) +1122515
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1171
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
_________________________________________________
vvvvv Default.aspx.cs has this code in it vvvvv
_________________________________________________
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class SearchVideos : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Search_Click(object sender, EventArgs e)
{
this.SearchYouTubeSource.Select();
}
}
________________________________________
vvvv Default.aspx has this code vvvvv
________________________________________
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="SearchVideos" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Search YouTube</title>
</head>
<body>
<form id="form1" runat="server">
<a href="default.aspx">Your Videos</a>
<a href="">Most Popular</a>
<a href="">Your Playlists</a>
<a href="">Most Commented</a>
<b>Search YouTube</b>
<div>
<br />
This will be searching the top rated video feed.<br />
<br />
Video Query: <asp:TextBox ID="VideoQuery" runat="server"></asp:TextBox>
Author:
<asp:TextBox ID="Author" runat="server"></asp:TextBox><br />
<br />
Category:
<asp:TextBox ID="CategoryQuery" runat="server"></asp:TextBox><br />
<br />
Order By:
<asp:DropDownList ID="Relevance" runat="server">
<asp:ListItem Value="relevance">Relevance</asp:ListItem>
<asp:ListItem Value="published">Published</asp:ListItem>
<asp:ListItem Value="viewCount">ViewCount</asp:ListItem>
<asp:ListItem Value="rating">Rating</asp:ListItem>
</asp:DropDownList><br />
<br />
Include Racy?
<asp:CheckBox ID="Racy" runat="server" /><br />
<br />
In Timeframe
<asp:DropDownList ID="Timeframe" runat="server">
<asp:ListItem>All Time</asp:ListItem>
<asp:ListItem>Today</asp:ListItem>
<asp:ListItem>This Week</asp:ListItem>
<asp:ListItem>This Month</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Search" runat="server" Text="Search YouTube" OnClick="Search_Click" /><br />
<br />
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SearchYouTubeSource">
<Columns>
<asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
<asp:BoundField DataField="Uploader" HeaderText="Uploader" SortExpression="Uploader" />
<asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
<asp:BoundField DataField="Author" HeaderText="Author" SortExpression="Author" />
<asp:BoundField DataField="Content" HeaderText="Content" SortExpression="Content" />
<asp:BoundField DataField="WatchPage" HeaderText="WatchPage" SortExpression="WatchPage" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="SearchYouTubeSource" runat="server" SelectMethod="Search" TypeName="ListVideos">
<SelectParameters>
<asp:ControlParameter ControlID="VideoQuery" Name="videoQuery" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="Author" Name="author" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="Relevance" Name="orderby" PropertyName="SelectedValue"
Type="String" />
<asp:ControlParameter ControlID="Racy" Name="racy" PropertyName="Checked" Type="String" />
<asp:ControlParameter ControlID="Timeframe" Name="time" PropertyName="SelectedValue"
Type="String" />
<asp:ControlParameter ControlID="CategoryQuery" Name="category" PropertyName="Text"
Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</form>
</body>
</html>
|
|
|
|
|
Hi All,
Can any one help me for the following please.
I have an image on Main page this image is a link to the popup page. Wehn you click on the image it shows you a popup page where you can do some actions, I am asking user to insert some information into the database on this popup.
Whenuser insertes a record I need to change the image on main page i.e if Image souurce was image1.jpg I want to change it to image2.jpg.
Any ajax , c# or Javascript code will do to me.
Thanks in advance
modified on Wednesday, December 17, 2008 11:20 AM
|
|
|
|
|
If you have an id assigned to your <img> tag, such as <img src="image1.jpg" id="foobar">
You could execute certain code on a onclick or onblur event:
<a href="#" onclick="changeImage()">
The javascript code itself would be:
changeImage()
{
var i = new Image();
i.src = "/images/image2.jpg";
document.getElementById("foobar").src = i.src;
}
Hope this helps,
m1ke
places.ae
|
|
|
|
|
Hi i have a dataset ? i want to filter it based on some value i.e it conntains Department ID columsn and i want to filter based on a particular ID ...
Please give ur valuable suggestions . Thanks in advance
|
|
|
|
|
Hi phani420,
maybe you could use the DataSet.Tables.Select() method. There you can pass a string (select-stmt) to get all rows matching the passed criteria.
Does this help you?
Regards
Sebastian
|
|
|
|
|
Yes .. Thanks
|
|
|
|
|
Hello Everyone
I am woking on asp.net 2.0 and i am using a Freetextbox control but does'nt works on Safari 3.0.4 browser.
I want a Freetextbox like control that will support in all the browsers like IE6, IE7, Mozilla, Safari etc.
Thanks in advance
Saurabh Agarwal
|
|
|
|
|
Dear Friends ,
I have dot net application ? is it possible to integrate with TOMCat . if s please list down the approach for that .. need very urgently and confirmation wellfor the same.
|
|
|
|
|
I searched a lot on Internet but failed to find any .net installed that can configure itself in TOMCAT.
Server Installation Requirements:
"Internet Information Services (IIS) version 5.0 or later. To access the features of ASP.NET, IIS with the latest security updates must be installed prior to installing the .NET Framework. ASP.NET is supported only on the following platforms: Microsoft Windows 2000 Professional (Service Pack 3 recommended), Microsoft Windows 2000 Server (Service Pack 3 recommended), Microsoft Windows XP Professional, and Microsoft Windows Server 2003 family"
Check out:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
I don't think, .net will work on Tomcat. You can search over internet for a compatible installer.
|
|
|
|