|
On the server, or on the client ? On the server, it's trivial. On the client, it's not really possible.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
on the server side , actually i want to read files from ftp server.
|
|
|
|
|
Hi,
I have two buttons btn a and b. Now, when i click btn b the logic written in btn a should be executed first and then btn b logic should be executed.
Could anyone kindly help!
Gautham
|
|
|
|
|
protected void btnB_Click(object sender, EventArgs e)<br />
{<br />
btnA_Click(this,e);<br />
}
I Love SQL
|
|
|
|
|
Thanks!!
What if my button a is in page1.aspx and button b is in page2.aspx?
Gautham
|
|
|
|
|
Create an instance of the page2.aspx and make the event of button b public and call the event from page1.aspx. I think this should work
|
|
|
|
|
I don't this that should works, if can you do it plz let us know how come.
I Love SQL
|
|
|
|
|
Why not extract the logic from the button b click event and stick it in method in a class and then call the same method from both buttons. Slightly neater solution.
|
|
|
|
|
Tried the same way, its correct however the requirement is that we have a textbox which we would some manipulations, so when we go the other page i need this text box and again send back again to the method for manipulations!!!
sounds really weird!!! What is the best solution?
Gautham
|
|
|
|
|
hi all,
i miss you
iwant to creat webform by using button when i click the button anew page will created and also contain textbox
|
|
|
|
|
http://www.indigorose.com/forums/search.php?searchid=327217
when we get to this link...we found a search option ...on click of which a pop window is opened ......how can we open that popup.....
varun khanna
|
|
|
|
|
See the below html tag. It's a div tag and its hidden, when the user clicks on the down arrow, its shown.
its done in javascript
========================
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Search Forums</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="c6653b6a14f5e4adc64c868b720bc892" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="Go" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />Show Threads</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />Show Posts</label>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?s=c6653b6a14f5e4adc64c868b720bc892" accesskey="4" rel="nofollow">Advanced Search</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
Thanks for ur Response..
But i wanna ask u some questions..
1.It is refressing classes....so where all can i found class which i think must be in javascript
2.Will this code run in asp.net bcoz its referring to php pages....So i want asp.net pages...
Varun Khanna
|
|
|
|
|
Hi There,
I just want to know a simple html editor (Free) which can be used in asp.net 2.0 like FCK Editor, i want to use in Small CMS, i hopoe u guys know a lot of them.
Many Thanks,
adnan
|
|
|
|
|
whats wrong with FCK editor?
|
|
|
|
|
Hi,
First of all, it works fine locally, it has too many options in tool bar, and i m facing isuee regarding deployment even BasePath is set correctly, and i want editor with small option like B,I,U,Table,Image Uploader, Hyper Link, Bullet Point and some more, if you any one simpler than fck plz let me or guide me how to deploy fckeditor,
Many Thanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
If you look into FCK Editor you can set it up to use any of the available buttons your require. On the project im working on right now i have only bold, italic, colours and link buttons available. Check on their site for the how to but as i remember it involves editing a text file that comes with it.
You need to add the FCK editor.dll into your bin folder in your project for it to work as well. You should be able to find all this on their site.
|
|
|
|
|
Is there any configuration involved to run it live, i have added dll to bin folder but still not running live, but running locally fine.
Can u send ur code snipts.
Many Thanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
<FCKeditorV2:FCKeditor id="FCKeditor" BasePath="../FCKeditor/" runat="server" Width="600px" Height="300px" ToolbarSet="Basic"/>
That's the Editor in the HTML
Dim Body As String = FCKeditor.Value
And thats how I reference it in the code.
FredCK.FCKeditorV2.dll is referenced in the bin folder. And thats it. There really should be any more to it than that. Look in the fckconfig.js file for config options. It looks like a mess in there I know but its actually quite straightforward.
Make sure the .Dll has made it up to the server
Any good?
|
|
|
|
|
Thanks for helping out, but i still did not get it running, BAsic tool bar is great, I have these things on my page and project:
1-Complete FCKEditor Director is coppied to my Project root location
2-Dll is added to bin folder
3-<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> this to register
4-<fckeditorv2:fckeditor id="txtEditor" runat="server" basepath="~/FCKeditor/" Height="400px" EnableViewState="False" ToolbarSet="Basic" ></fckeditorv2:fckeditor> this to show the editor on page
5-Running locally
6-Not running live.
It seems i am not doing anything wrong but it is not working live, plz figure out something wrong wt im doing.
U already helped me lot
many Thanks,
adnn
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
When you say it's not working. What exactly isn't working. Not appearing at all. Can i view the problem page?
|
|
|
|
|
|
All i get is an error. Have a look for yourself. Follow the instructions it displays to show more detailed error to me. Otherwise I wont be able to see anything!!
|
|
|
|
|
Thanks!
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Hi,
I'm trying to connect to a web service. I can connect to it and see a list of supported methods from my computer at home but I can't see it from a computer at work. I've asked the provider of the web service to stick a test HTML page at the same location of the web service and I can see this page from both computers. In other words, I can see a web page from my work computer but can't see a web service published at the same location!
This is confusing me because I thought web services did all their work via port 80. This is like there's another port being used which is blocked.
Can anyone explain this? Is a web service's traffic over port 80 exclusively?
Even more confusingly, from my work machine I can connect to another web service at another location just fine. This surely means that my machine is not preventing me from accessing web services, it means that even though I can view other web services and HTML from a particular server, I can't access one particular web service.
How can this be?
|
|
|
|