|
Hmm...that didn't seem to work. The valid status values are "Active" and "Inactive", so there shouldn't have been an issue with trying to include the line that you provided. Any help?
"I need build Skynet. Plz send code"
|
|
|
|
|
Take a look at the HTML that is being generated for the select list. Should look something like this:
<select id="AgencyStatus" size="1">
<option value="Active">Active</option>
<option value="Inactive">Inactive</option>
</select>
...if it doesn't, you'll need to adjust your logic.
|
|
|
|
|
Shog, do you have any references to the $(this) $(document) usage? My searching is only finding references to dollar sign being a valid identifier character.
|
|
|
|
|
I'm betting that he's using jQuery[^].
|
|
|
|
|
Thanks dude. Guess I'll go read on that some. Don't know the first thing about it.
One of the critical concepts in any jQuery code is the so called '$' function. '$' is actually an 'alias' for the 'jQuery' namespace.
Thanks again
modified on Thursday, February 12, 2009 1:59 PM
|
|
|
|
|
led mike wrote: Thanks again
np - jQuery is good fun.
|
|
|
|
|
Hi
I have an asp panel. I am dynamically adding some html tables with 3 rows and columns to it. When the output is shown, the table doesn't fit the panel correctly. It crosses the bottom boundary of the panel. How to solve this?
My panel size is 100 * 100
But depending upon the images in the table, the size of panel changes.
My code is
----------------
System.Web.UI.WebControls.Panel Panel1;
HtmlTable table = new HtmlTable();
-
-
-
-
-
table.Height = "100%";
table.Width = "100%";
Panel1.Controls.Add(table);
-----------------------------------
thanks in advance
anvesh
|
|
|
|
|
hi all,
i have developed an admission formin ASP.NET.in that i have text boxes.at the time of running i am facing problem.i can see all text box in IE(internet explorer) but can't visible in firefox.!!!!i have tried to change the property of TEXTBOX(relative to absolute),but it doesn't works.what should i do now.design is perfect in both case.i am using C# as a language,
thanx in advance
MJPM
|
|
|
|
|
Set textbox container's overflow property to auto and see if it works or not.
overflow : auto;
|
|
|
|
|
Hi All,
In our project, we print shipment lables.When the PDF shipment labels get printed the shipment labels become too small. Please let me know if there is a way to control the size of the PDF shipment labels when they are printed. When viewed they look fine but when printed , they look very small.The goal is make the PDF shipment labels larger when they are printed.
Regards,
Rajiya Naik
|
|
|
|
|
Hi, i have a problem with vs(visual studio) 2008 creating subprojects.
I want to have a main web application and under it i want to have sub web applications.
The sub web applications must not have web.config file.
They must use the main application's web.config.
I could do this with vs 2005 but not with vs 2008
When i start to debug one of sub applications, it tries to creat a web.config file
Does anyone have an idea about what am i doing wrong?
|
|
|
|
|
1. With respect to the above subject matter, would appreciate if someone could help me out with this.
2. My OS is Win XP+SP2 . Have searched the net for the same, but i guess this combination does not hold true for either VS2008 OR for Win XP SP2.
Thx in advance.
Regards,
Yogesh
|
|
|
|
|
Basically, you may use the wss Lists webservice
or
by using the sdk, you may use something like:
SPList list = site.Lists("LISTNAME");
SPFolder docLib=list.RootFolder;
docLib.Files.Add("FILENAME", FILESTREAM, null, true);
Calin
|
|
|
|
|
Hello there,
I have recently got web space which unfortunately does not support server side Java and I want to use Java with JSPs to construct an application.
My problem is the compiling of the JSP files, which as far as I understand need a compiler such as Tomcat to output correctly to screen. When I access a *.jsp file with HTML code within it then I literally just get the code with the HTML tags in my browser.
Is there a way around this or any similiar alternatives that could help me out other than changing my web space and sticking with Java and JSP?
Any help with this is greatly appreciated!
Thanks,
G.
Grzegorz
|
|
|
|
|
So you want to write server side code, but you have a hosting solution that doesn't support the language that you want to write in. Get a new hosting solution...
|
|
|
|
|
I have a WebMethod and its return DataSet. How can I get DataSet in the JQuery?
If web method return object (class) so; I use this code;
--------------------------------------------------------
$.ajax({
type: "POST",
url: "web.asmx/GetPerson",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg){
$("#data1").html(msg.d.FirstName + " " + msg.d.LastName);
}
});
If web method return generic list so; I use this code;
-------------------------------------------------------
$.ajax({
type: "POST",
url: "web.asmx/GetPeople",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg){
$.each(msg.d, function(i){
$("#data2").append(this.FirstName + " " + this.LastName + "<br/>");
});
}
});
But my web metod return DataSet. How can I edit above sample???
Best Regards...
|
|
|
|
|
In the name of God
----------------------------------------------------------------------------
Hello
I want JavaScript source code for website which do this for me :
Get website link (itself !) and set specific image for page ; For example if link is http://www.sample.com/step1.aspx set an image in page with image1 and if link is http://www.sample.com/step1.aspx set image in page with image2
Thanks.
|
|
|
|
|
Try something like this pseudo code..
function setImages()
{
if (document.location.indexOf("step1.aspx") != -1)
{
myImageElement.src = "imageUrl1";
}
if (document.location.indexOf("step2.aspx") != -1)
{
myImageElement.src = "imageUrl2";
}
}
|
|
|
|
|
Hi all,
Im using tinymce textarea control in the asp.net model popup extender ajax control.
While clicking on a link in the page, popup will display and in that popup tinymce is one of the control.
In IE6 and mozilla 3.0 tinymce control working fine, but in safari 3.1 in the popup tinymce control is showing but unable to access. Im unable to write text in the text area.
If I use tinymce control directly in the page it is working fine in all the browsers.
Please suggest for any solution.
Thanks,
Basu
|
|
|
|
|
I want to set a Webbrowser control inside a page asp.net.What do I do?
Thanks
|
|
|
|
|
Why in the world you want to add WebBrowser control in asp.net page?
By the way if you are able to add it on the page, it will only work for IE and not for other browsers. Seems like you don't know where WebBrowser control is used? It is generally used to display a web page in Windows Forms App.
Read this.
http://msdn.microsoft.com/en-us/library/w290k23d.aspx[^]
|
|
|
|
|
Hi
I have a very wried prob... i have an aspx page with a text box and a button. On click of button i call a function CodeCheck() in javascript which does some validations and if the result is true opens a new page. i used window.location.href="my page" for opening the page.
I have also used onkeypress="if(event.keyCode==13){return CodeCheck();};" in the form so that if the user presses enter key it must have the same functionality as the button click.
Now the prob is when i click the button the page opens well but when i press the enter key it opens the existing page. i have no idea why this is happening.
If i use Window.Open() it works fine but i cannot use it since it opens in a new page.And i want my page to open in the existing one only... Can someone please help
Thanks
Baishali
|
|
|
|
|
Set window.location.href = "http://www.google.com/" and try if it opens the google correctly then there may be something wrong with your url.
|
|
|
|
|
There is nothing wrong with URL. "keypress" is an event that can be cancelled and can bubble. So you have to pay attention to what value you return from your event handler. I am assuming that you are not returning anything from "CodeCheck()" function.
Try this..
function CodeCheck() {
window.location.href = "http://www.byteblocks.com";
return false;
}
You will need to some more work in keypress even handling to decide cancellation of event.
|
|
|
|
|
Hi all,
Has anyone integrated a chat application into a website? If so can you -
- recommend your preferred application
- advise on ones to avoid
- give any advice on platform dependence PHP, ASP, jscript, HTML... does it matter?
Thanks for your help!
Andy
|
|
|
|