|
I suspect that FF and Opera ignore the tag and work out that it's javascript. Unless you know of specific differences between jscript and javascript ? I don't know of any.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Well, apparently, Jscript and Javascript are very much ECMAScript-compliant and the only difference between Jscript and Javascript that I'm aware of is the fact that Application-Specific Objects like the D.O.M and the S.O.M (Server Object Model) differ. That's the only thing I can think of. Hmmm, that's got me thinking now...
|
|
|
|
|
I wonder if someone know from where I can get a business or personal web packages, email packages or domain registration at one place with smart utilities. Hosting Company must be in local Middle East countries.
I would appreciate if any one of you could be of my help.
|
|
|
|
|
Following websites may fulfil almost all of your requirement:
www. eeregister .com
5 pages website Starting at: $29.95 - AED 109.95 / year
www. eehosting .com
Hosting starting from: $99 AED 365 / year
|
|
|
|
|
|
Try hostgator. They are reputable and reliable. I've been using them for almost 2 yrs.
|
|
|
|
|
When an Email generated by Asp.net Emailer Application is forwarded or replied, the alignment of the html table of Email changes, adding space betweent the rows of the table. Can anyone suggest how to fix is problem. Any help will be appreciated.
|
|
|
|
|
I'm trying to use the componentart menu control to either show or hide certain controls, similar to the "Client-side commands" demo example on their website(http://aspnetajax.componentart.com/control-specific/menu/programming_client/client_sideCommands/WebForm1.aspx[^]).
My problem however, is everytime I click a menu item, I get an error which reads: "toggleElement is not defined".
A sample line from my xml file looks like this:
<item Text="Stats" ClientSideCommand="toggleElement('pnlStats')" />
My aspx file line looks like this:
<asp:Panel id="pnlStats" runat="server">
And I have my javascript setup in my "" tag to look like this:
function toggleElement(eName) {
if (document.getElementById(eName).style.visibility == 'visible')
document.getElementById(eName).style.visibility = 'hidden';
else
document.getElementById(eName).style.visibility = 'visible'
}
I've also tried replacing my "pnlStats" panel with exactly what was in their demo sample:
<input id="txtFN" type="text" size="35" style="visibility:visible;">
but I still had the same error.
Any idea what I'm doing wrong?
Thanks.
|
|
|
|
|
Hi,
Just try to check whether the pnlStats control which you have passed in the toggleElement() function is null or not. If you are using VS2008 then you can directly debug the javascript function. Also check whether the pnlStatus is visible or hidden at the time you are calling the javascript function.
Regards
Saanj
Either you love IT or leave IT...
|
|
|
|
|
Hi,
I've been trying to create a layout that is essentially like facebook, the two main features of it being:
1- Centred, constant width website body
2 - Content height seems to be set to 100% as the toolbar always sticks to the bottom of the browser.
I have managed to get a containing div to centre horizontally using a relatively positioned div with left/right margins set to auto, but doing this relatively stops me from being able to set the height of the div to 100%.
So to summarise I want the main body of my site to be a constant width (probably 1024px), be centred horizontally, and be 100% in height.
Does anyone know how to achieve this as I can't seem to get the horizontal centering and 100% height working together.
Thanks
Andy
|
|
|
|
|
:~hello friend ......
.......You have to work with the css and you will be able to do this
..For that you have to create the css file for your application and then you can define the static margin or the value which you want in your application..........
...........Now it's your resposibility to do this search in site if you are not knowing the css .........
Your friend
rahul
|
|
|
|
|
I have a Gridview having 3 columns in which i took checkbox,label and label as item templates for columns select,code,name respectively.
ecode column is not editable.Button edit and update are present outside of gridview.
i can edit multiple rows like this...
when i select checkbox in 1st row of gridview then in ename column of that row i added textbox by this code
protected void btnEdit_Click(object sender, EventArgs e)
{
for (int i = 0; i < GridView1.Rows.Count; i++)
{
txteditEname = new TextBox();
CheckBox chkDelete = (CheckBox)GridView1.Rows[i].Cells[0].FindControl("chkSelect");
Label lblEname = (Label)GridView1.Rows[i].Cells[0].FindControl("lblEname");
if (chkDelete.Checked)
{
GridView1.Rows[i].Cells[2].Controls.Add(txteditEname);
txteditEname.Text = lblEname.Text;
lblEname.Visible = false;
}
}
}
protected void btnUpdate_Click(object sender, EventArgs e)
{
ArrayList al = new ArrayList();
for (int i = 0; i < GridView1.Rows.Count; i++)
{
CheckBox chkDelete = (CheckBox)GridView1.Rows[i].Cells[0].FindControl("chkSelect");
txteditEname = (TextBox)GridView1.Rows[i].Cells[2].FindControl("txteditEname");
string str=txteditEname.Text;//error
//here i set breakpoint and wanted to retrieve txteditEname but error comes...
then thinking that there is no such textbox when i press Update button as autopost back then
i saved the txteditEname 's value in Viewstate but when i retrieved viewstate it showed me the textbox's value before page is posted back.
But the current txteditEname's value is different which i want to update.Please tell me how to get curret txteditEname's value.
But before that i wonder if this textbox is not available then i'll surely get null value.
}
|
|
|
|
|
Looks like an ASP.NET question to me ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I am working on a tool that generats html code and sends it to any given email(s). The problem is when the html is sent, it just shows the source code in the email instead of the actual html visuals, formatting, etc.
How can I make email clients display the html properly? i.e. is there some kind of property to add to the html code that will show it in emails, like <META http-equiv=Content-Type content="text/html; charset=unicode" ShowInEmail="true">
|
|
|
|
|
You can't do anything except have your users specify if they use a mail program that shows HTML, or if they want plain text.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
It depends how your sending it.
With the standard System.Net.Mail.SmtpClient you can send a System.Net.Mail.MailMessage setting its properties and setting IsBodyHtml to true.
Using the wrong tool for the job is half the fun.
|
|
|
|
|
Thanks. I ended up figuring it out on my own, but this was the solution.
|
|
|
|
|
hi,
I am having three drop down lists
1.countires
2.states
3.cities
I filled my country dorpdownlist from the database.
And now i like to fill the states dropdown list when the country is
selected all the states of the corresponding countries must be filled.
Any one plz help me how i can do this....
Thanx in advance
|
|
|
|
|
There are a ton of examples on the web of how to do this. Given that all we can assume that you're not using ASP.NET ( that is, we have no idea what you're using ), it's hard to say much more.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
javascript might be the way forward:
Something along the lines of:
<script type="text/javascript">
function updateState(){
var country = document.getElementById('country').value;
if (country == "England"){
//add children here
}
}
</script>
<select id="country" onchange="updateState()">
<option value="England"> England<option>
...
</select>
<select id="state" onchange="updateState()">
</select>
|
|
|
|
|
You can use Ajax call to get values for state based on selected country
Jyoti
|
|
|
|
|
hello
How i retrieving Images from database sql server to ASP.NET page plz?
thank inadvance.
|
|
|
|
|
We have an ASP.NET section, we have articles that explain how to do this, and google has tons of info also. The basic answer is, write a web page which takes a database id and does a binary write back of an image, and point your image tags to that URL.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|