|
Try this[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
This is my connection string for ExcelSheet :
string excelConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + fldSubscriberList.PostedFile.FileName + ";Extended Properties=Excel 8.0";
But Given the Error AS :
Could not find installable ISAM
Please Help
Thanks
|
|
|
|
|
|
hi,
i need to put all anchor tags into an array, in java script.
<ul id="countrytabs" class="shadetabs">
<li><a href="external1.htm" rel="countrycontainer" class="selected">Tab 1</a></li>
<li><a href="external2.htm" rel="countrycontainer" id="favorite">Tab 2</a></li>
<li><a href="external3.htm" rel="countrycontainer">Tab 3</a></li>
<li><a href="external4.htm" rel="countrycontainer">Tab 4</a></li>
</ul>
|
|
|
|
|
|
vishnukamath wrote:
i need to put all anchor tags into an array, in java script.
<pre>
<!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><title>
</title>
<head><body><form><div>
<ul id="countrytabs" class="shadetabs">
<li><a href="external1.htm" rel="countrycontainer" class="selected">Tab 1</a></li>
<li><a href="external2.htm" rel="countrycontainer" id="favorite">Tab 2</a></li>
<li><a href="external3.htm" rel="countrycontainer">Tab 3</a></li>
<li><a href="external4.htm" rel="countrycontainer">Tab 4</a></li>
</ul>
</div>
</form>
</body>
<script type="text/javascript">
arrayOfAnchorTags = document.getElementsByTagName("A")
alert(arrayOfAnchorTags[1].id)
</script>
</html>
</pre>
|
|
|
|
|
Iam using a cab file in my production environment but this does not gets installed (as ActiveX) on the client machine.
I use the same code and everything in development environment, there it is working fine.
Cud anyone suggest a solution ?
Rahul
|
|
|
|
|
Is your ActiveX signed?
There are various options set for an ActiveX in IE. You must have enabled/allow the activeX in your development system.
Client system must be highly secure server, not allowing an activeX to download.
Look for the options here:
IE -> Tools -> Internet Options -> Security -> Security Seetings(Custom Level)(need to select Intranet or Internet) -> ActiveX Controls & Plugins.
Adjust the settins that work for your CAB file. Though, Security is the key and needs to be taken care of.
|
|
|
|
|
Hi Devs,
I am planning to develop a webcam application which can say detect your eyes and place a sun glasses onto your eyes. And then you can select which one suits you best.
There are couple of website already doing this but I just want to implement it myself out of interest.
But i have no idea where should i start looking for it and if there are any examples online.
Can anyone please guide me the right path.
Thank You
Andyyy
|
|
|
|
|
Need help on the format of the produced output of the HtmlWriter class.
I need to make properly indent the tags in the final rendered output.
Sample:
string[] Names = new string[]
{
"Johnny",
"Mindy",
"Jossy",
"Kreuger",
"Marco"
};
HtmlTextWriter writer = new HtmlTextWriter(new StringWriter());
writer.RenderBeginTag(HtmlTextWriterTag.Ul);
foreach (string name in Names)
{
writer.RenderBeginTag(HtmlTextWriterTag.Li);
writer.Write(name);
writer.RenderEndTag();
writer.WriteLine();
}
writer.RenderEndTag();
The produced output is this:
<ul>
<li>Johnny</li>
<li>Mindy</li>
<li>Jossy</li>
<li>Kreuger</li>
<li>Marco</li>
</ul>
The closing ul tag is not indented properly.
Any work around for this, thanks a lot.
|
|
|
|
|
This looks like some whitespace is rendered before the code snippet you've provided. If this is from the Render method of a control, it may be whitespace introduced in the designer.
|
|
|
|
|
hello
i have a problem in accessing textbox from its usercontrol. i have textbox in the user control i.e in ascx file and now i want to use that textbox value in the aspx page. But I want to use it without using delegates and all. is there any simple way to access it like a regular textbox ??
suchita
|
|
|
|
|
Create a property in the ascx that exposes the value of the textbox.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
can u give me one example for that please??
suchita
|
|
|
|
|
An example of how to create a property?
If you can't figure that out on your own, give up and change careers, everyone will thank you.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
funny. i already did one but that one is not working.. thats why i am posting my question here..if you can't do that, better say I can't .. thats fine..
suchita
|
|
|
|
|
SayamiSuchi wrote: if you can't do that, better say I can't
Don't get cocky. Look around, I think I've demonstrated ability well enough.
Show what you have tried. Creating a property is very, very, very simple basic knowledge.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I used delegate thing and its working fine... thats not the problem. But i am just wondering whelther i can use in other way...
WriteThisMessageToThePage1.sendMessageToThePage += delegate(string message) { txtNeededDate.Text = message; };
this one working absolutely fine.. just thinking the other way..
suchita
|
|
|
|
|
also i am trying to use findcontrol property and its not working.. i dont know what parameter i'm missing..
my ascx page name is usercontrol.ascx and it has one textbox named textbox2.
and my aspx page has one button named button1 and textbox named textbox1.
now i am trying to show the value of textbox2 in textbox1 on button1 click event.
protected void Button1_Click(object sender, EventArgs e)
{
usercontrol1 u = new usercontrol1();
string s = u.FindControl("Textbox2");
TextBox1.Text = u.ToString();
}
This is not working. I doubt the way i used the textbox2 is wrong but i dont know where i'm wrong.
suchita
|
|
|
|
|
Hi Suchita,
Based on this flow of yours:
1. Fill some value in Usercontrol ascx: ValueA
2. Press buttonA in ASPX parent page.
3. buttonA, brings ValueA in the textboxA of ASPX parent page
4. buttonA, send the ValueA in DB to store.
Try this:
public string txtBoxInUCExposed
{
get { return txtBoxInUserControl.Text;}
set { txtBoxInUserControl.Text = value}
}
string valueInUCTextBox = myUC1.txtBoxInUCExposed;
|
|
|
|
|
My opinion.
If the OP could not have figured out how to do this simple task then giving it to him like this did not help and just made hime dependent on others and a burden to his team, now and in the future.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
if i take your opinion, i wont be learning ..instead i will be more frustrating...
how can one learn if the confusion I have wont get out of it. I need help for that and thats what this forum is about. Dont you think so ??
suchita
|
|
|
|
|
I've said it many times now. Creating a property is a very, very, simple basic task that you should have learned long ago. Every basic beginner book coveres it. Almost every code sample has one. If you can't figure it out, then quit, please.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
i am using dot net after 4 years.so i forgot and confuse. i am restarting it again and enjoying it too. What is your problem ? If you can't help, dont post please...
suchita
|
|
|
|
|
I don't care long it has been since you last used it. Read the response again, basic simeple task covered by many, many, many, many resources.
If you can't do basic tasks, then please don't bother us
I know the language. I've read a book. - _Madmatt
|
|
|
|