|
please help me to genrate it.
manish
|
|
|
|
|
You'll need a pen, some double sided stickytape and large piece of red cardboard )
|
|
|
|
|
don't forget Ajax!
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
You're thinking of www.rentacoder.com, or www.monster.com, depending on if you have money, or just want something that sucks.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I have to host the Web application on our company's Web server (Windows platform). It should be possible to host clients data on our server as well. o you have any Best practices for this. How to do this efficiently. Also which is the best security model for this. This is not an e-business type of application, rather it is a coprporate application a database driven Web application. Let me know if there are any good articles on this as well.
Thanks
sj
|
|
|
|
|
it is not possible to host client data on your server coz it is (Windows platform) in windows there is always premissions are required form client also
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
I have a layout here: http://www.roomofrequirement.com/js
and if you click on the nav buttons at the top a div layer fades (well the background fades in). What I want it to do is after the first fade in, the background stays in place and only the text pops up once another button is clicked. So if I click on the site button first, the background fades and it stays there when I click on books, but only the text changes.
Is that possible?
Here is my code:
var ie4 = !!document.all
var w3c_dom = !!self.HTMLElement
var nc4 = !!(!w3c_dom && window.captureEvents)
if (w3c_dom && !ie4) {
document.writeln('<script language="JavaScript" src="dom.js"></sc'+'ript>')
ie4 = true
}
var dhtml = (ie4 || nc4)
var local_delay;
var opacity;
// End
var active_page = 0
var visible, hidden
if (ie4) {
visible = "inherit"
hidden = "hidden"
}
else {
visible = "show"
hidden = "hide"
}
var pages_loaded = false
var layerTimerID = null
var pages = new Array()
function layerOver(num)
{
if (!dhtml || !pages_loaded)
return
opacity = 0;
//layerTimerID = setTimeout("layerChange(" + num + ")", delay)
layerChange( num );
}
function layerOut() {
//if (layerTimerID)
// clearTimeout(layerTimerID)
}
function layerChange(num) {
layerTimerID = null
if ( opacity == 20 )
{
var p_old = pages[active_page]
p_old.visibility = hidden
if ((w3c_dom) && (active_page != num))
p_old.display = "none"
active_page = num
var p_new = pages[active_page]
p_new.visibility = visible
//if (w3c_dom)
p_new.display = "inline"
p_new.filter = "alpha( Opacity="+opacity+" );"; // IE
p_new.MozOpacity = opacity/100; // Mozilla
opacity++;
layerChange();
}
else
{
//alert( "halt" );
opacity += 5;
pages[active_page].filter = "alpha( Opacity="+opacity+" );"; // IE
pages[active_page].MozOpacity = opacity/100; // Mozilla
if ( opacity < 100 )
layerTimerID = setTimeout("layerChange(" + num + ")", 40)
}
}
function initLayers()
{
if (!dhtml)
return
//document.writeln('<DIV id=' + ("layer" + page_max) + ' class=page><h2 align=center>Place the mouse pointer over the above links.</h2></DIV>')
for (var i = 0; i <= page_max; i++)
pages[i] = (ie4) ? document.all["layer" + i] : document.layers["layer" + i]
if (nc4)
page_height = 0
if (!page_height) {
var p_height
if (ie4)
p_height = pages[0].offsetHeight
for (var i = 0; i <= page_max; i++) {
var p = pages[i]
p_height = (ie4) ? p.offsetHeight : p.clip.height
if (p_height > page_height)
page_height = p_height
}
}
else {
for (var i = 0; i <= page_max; i++) {
pages[i].style.pixelHeight = page_height
pages[i].style.overflow = "auto"
}
}
if (ie4) {
for (var i = 0; i <= page_max; i++) {
var p = pages[i]
if (w3c_dom)
p.style.display = "none"
pages[i] = p.style
}
}
//document.writeln('<TABLE border=0 height=' + page_height + '><TR><TD></TD></TR></TABLE>')
//layerChange(page_max)
pages_loaded = true
}
this code is what is used on the main html page (I am including only one of the divs as an example):
<div style="display: none;" class="page" id="layer7">
<center>
<table height="132">
<tbody>
<tr>
<td valign="center">
<table width="232" height="132" border="0" align="right" cellpadding="0" cellspacing="0" class="fadearea">
<tr>
<td align="center"><BR>Flash Games<BR>Triva<BR>Puzzles<BR>Fun Lists<BR>Spoofs<BR>Photoshop Fun</td>
<td align="center"><BR>Song Parodies<BR>License Plates<BR>Caption Contest<BR>Mugglenet Interactive<BR>Project Legilimensia
</table>
</td></tr></tbody></table></center></div></div><!-- End ImageReady Slices -->
<script language="JavaScript">
var page_max = 7
var page_height = 0
var delay = 1000
initLayers()
//-->
</script>
<map name="Map">
<area onMouseOver="layerOut()" onClick="layerOver(0)" onMouseOut="layerOut()" shape="rect" coords="4,181,65,250" style="cursor: pointer;">
<area onMouseOver="layerOut()" onClick="layerOver(1)" onMouseOut="layerOut()" shape="rect" coords="32,84,97,142" style="cursor: pointer;">
</map>
please any help will be appreciated, I have been working on this for over 2 weeks.
thanks!
|
|
|
|
|
|
Hi,
I am using asp.net 2.0 for a new application wherein I have used the concept of master pages. The Master page has a search functionality, wherein user enters search criteria in the textbox and clicks the Search button, to see the results in a different page (Child page using the master page).
I have written normal Button_Click event inside the code behind of Master page, but the application doesn't fire the code when the button is clicked.
What can be the problem ? Am I wrong somewhere ? Can't we have button click event inside master page ?
Pls guide me.. I am in a lot of trouble.
Thanks and best regards
Omkar Ghaisas
|
|
|
|
|
Yes, you should be able to fire an event from a control located w/in the master page content.
Check for the following:
1) runat="server" attribute set for Button control
2) OnClick attribute should equal the name of the event handler in the codebehind
3) Event handler should be declared as at least "protected" or higher so pages inheriting from Master page have access to it.
4) method signature of event handler is correct eg. "void (object, EventArgs)"
Like this:
ASPX:
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
CODEBEHIND:
protected void Button1_Click(object sender, EventArgs e)
{
}
|
|
|
|
|
if any one know how to create custom column using "Feature" feature of MOSS for the "Image" type?
the following is the code for creating custom site column for "Choice" Type column
Feature.xml:
<feature id="CA7BD552-10B1-4563-85B9-5ED1D39C073B"
="" title="myField" description="asdf" version="2.0.0.0" scope="Site" xmlns="http://schemas.microsoft.com/sharepoint/">
<elementmanifests>
<elementmanifest location="testing.xml">
and following is testing.xml
<elements xmlns="http://schemas.microsoft.com/sharepoint/">
<field id="{1DAB9B48-2D1A-47b3-878C-8E84F0D322CB}"
="" name="RegionFromFeature" group="my Column" type="Choice" i="" need="" this="" for="" the="" image="" type.="" dont="" know="" what="" is="" format="" that.
="" displayname="Region" sourceid="http://schemas.microsoft.com/sharepoint/v3/fields" staticname="Features" fillinchoice="FALSE">
<choices>
<choice>Parker
<choice>Dollar
<default>Dollar
thanx
|
|
|
|
|
Hi,
I have a plain old html file with a bunch of links. My standard browser is FF, but some links only open in IE. Is there a way to 'tell' the link to open a IE browser even though the main page is open in FF?
tnx.
V.
I found a living worth working for, but haven't found work worth living for.
|
|
|
|
|
Here's the standard way of doing it:
<href="http://www.google.com" target="_blank">Google</a>
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
I think he wants to be able to open a page in IE whilst in firefox.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
yes idd, thanks .
|
|
|
|
|
no, sorry, this is not what I meant . Sorry if my question was unclear.
I want a link in a FF browser to open an instance of IE and load the page there...
|
|
|
|
|
Sorry about that. I did some searching and I can't find anything. Do you have to open your links in IE?
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Well, I have a webpage with my 'favourites' that's open constantly. Because my default browser is set to FF it opens in FF. I have some links from sites within our company that will not work with FF, but need IE to open. So it's not really important to make it work, it's for me personally . I probably could do it with Javascript and a little research, but that's taking it to far, I just wanted to know if there was a 'trick' to it.
Tnx for the effort anyway.
|
|
|
|
|
Download the IETab add-on to Firefox. Then you can specify specific URLs that will be rendered using the IE engine inside Firefox.
---
Year happy = new Year(2007);
|
|
|
|
|
|
Can anyone point me to any good developer guides to getting started with WPF/e? All I seem to come up with are millions of blog hits that all point back to the video/paper on playing with a soft-drink can. I want to start looking at developing web applications, not media, using this platform.
|
|
|
|
|
Brady Kelly wrote: All I seem to come up with are millions of blog hits
Didn't you know - that's M$' new documentation method - just let the bloggers do it
Seriously though, I struggled, and couldn't really find much, so just started playing - seemd to do the trick
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi everyone,
I'm having with selecting a row in a datagrid. I have a datagrid that is ment to update and it runs very well, But I don't want the user to keep scrolling when ever they want to update so I created a textbox(txtname) and a button where a user is supposed to write a name and by the click of the button the corresponding row is selected. Now where the problem is it's that when I write a name say Ndayahundwa,Claude and press button I get this error:
Incorrect syntax near 'Ndayahundwa'. Here is the code I'm using:
SqlCommand myCommand = new SqlCommand();
myCommand.Connection=con;
myCommand.CommandText="select * from isp_email.staff where @fullname like%" +txtname.Text+ "%";
SqlParameter myparam = new SqlParameter("@fullname",SqlDbType.Text);
myparam.Value=txtname.Text;
myCommand.Parameters.Add(myparam);
SqlDataAdapter myAdapter=new SqlDataAdapter(myCommand);
DataSet ds = new DataSet();
myAdapter.Fill(ds);
dgupdate.DataSource=ds;
dgupdate.DataBind();
Could some one bail me out?
Thanks.
|
|
|
|
|
This line:
nclauder wrote: myCommand.CommandText="select * from isp_email.staff where @fullname like%" +txtname.Text+ "%";
Should be written as:
"select * from isp_email.staff where fullname like @fullname"
and add the % signs to the ends of your parameter. This is providing that fullname is a field in your table.
|
|
|
|
|
Thanks Paddy,
I tried it but it couldn't work but I tried this and it could only bring the header text do you think i'm missing something?
SqlCommand myCommand = new SqlCommand("select * from isp_email.staff where fullname Like '"+@txtname+"'",con);
SqlParameter myparam = new SqlParameter("@txtname",SqlDbType.Text);
myparam.Value=txtname.Text;
myCommand.Parameters.Add(myparam);
SqlDataAdapter myAdapter=new SqlDataAdapter(myCommand);
DataSet ds = new DataSet();
myAdapter.Fill(ds);
con.Open();
dgupdate.DataSource=ds;
dgupdate.DataBind();
con.Close();
Thanks again.
|
|
|
|