Click here to Skip to main content
15,919,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading Large Text File Pin
lmoelleb18-Oct-07 0:10
lmoelleb18-Oct-07 0:10 
GeneralRe: Reading Large Text File Pin
Malcolm Smart18-Oct-07 0:42
Malcolm Smart18-Oct-07 0:42 
Questionnetwork port Pin
8213001217-Oct-07 23:14
8213001217-Oct-07 23:14 
AnswerRe: network port Pin
vytheese17-Oct-07 23:48
professionalvytheese17-Oct-07 23:48 
AnswerRe: network port Pin
Malcolm Smart18-Oct-07 0:46
Malcolm Smart18-Oct-07 0:46 
GeneralRe: network port Pin
8213001218-Oct-07 2:46
8213001218-Oct-07 2:46 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
lmoelleb17-Oct-07 23:10
lmoelleb17-Oct-07 23:10 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 23:19
kkun17-Oct-07 23:19 
No ~
this some code fragment below:
    <iframe id="htmlContent" frameborder="0" marginheight="4" marginwidth="4"></iframe><!--container for user-->
    <div class="UploadFile" id="UploadFile"></div>
    
    <!--html control-->
    <textarea cols="53" rows="3" id="oContent" class="hidden" name="oContent" ></textarea><!--container for server-->
    <input type="file" id="oFile" name="oFile" onchange="javascript:oEdit.OnFileLoad();void(0)" class="hidden" />
</div>
<script type="text/javascript" language="javascript" src="Images/htmlEdit.js"></script>


...
<br />
    #region Properties & Fields<br />
    private string _File;<br />
    private string _Content;<br />
    public string oFile<br />
    {<br />
        get { return _File; }<br />
        set { _File = value; }<br />
    }<br />
    public string oContent<br />
    {<br />
        get { return _Content; }<br />
        set { _Content = value; }<br />
    }<br />
    #endregion


not for security reasons.
//copy the content into a hidden .NET control from the javascript
innerHtml ---> javascript ---> TextBox ---> codebihind ...OK!
main problem is when to do that ?
when another page using the UserControl clicked a button ,we can only see its property "oContent" is ok ?
Question[Message Deleted] Pin
8213001217-Oct-07 23:08
8213001217-Oct-07 23:08 
AnswerRe: save image Pin
Giorgi Dalakishvili17-Oct-07 23:13
mentorGiorgi Dalakishvili17-Oct-07 23:13 
AnswerRe: save image Pin
benjymous17-Oct-07 23:14
benjymous17-Oct-07 23:14 
AnswerRe: [Message Deleted] Pin
Justin Perez17-Oct-07 23:25
Justin Perez17-Oct-07 23:25 
GeneralRe: [Message Deleted] Pin
8213001217-Oct-07 23:31
8213001217-Oct-07 23:31 
GeneralRe: [Message Deleted] Pin
Justin Perez17-Oct-07 23:48
Justin Perez17-Oct-07 23:48 
QuestionHow to do tag balancing in C# Pin
sean lawrence17-Oct-07 22:54
sean lawrence17-Oct-07 22:54 
AnswerRe: How to do tag balancing in C# Pin
il_masacratore17-Oct-07 23:19
il_masacratore17-Oct-07 23:19 
Questionhow to do tag balancing in C# Pin
sean lawrence17-Oct-07 22:52
sean lawrence17-Oct-07 22:52 
AnswerRe: how to do tag balancing in C# Pin
benjymous17-Oct-07 23:12
benjymous17-Oct-07 23:12 
GeneralRe: how to do tag balancing in C# Pin
sean lawrence17-Oct-07 23:18
sean lawrence17-Oct-07 23:18 
GeneralRe: how to do tag balancing in C# Pin
benjymous18-Oct-07 0:14
benjymous18-Oct-07 0:14 
AnswerRe: how to do tag balancing in C# Pin
sean lawrence18-Oct-07 0:29
sean lawrence18-Oct-07 0:29 
AnswerRe: how to do tag balancing in C# Pin
sean lawrence19-Oct-07 1:59
sean lawrence19-Oct-07 1:59 
QuestionC# Web application for Taskbar icon Pin
Sun Rays17-Oct-07 22:44
Sun Rays17-Oct-07 22:44 
AnswerRe: C# Web application for Taskbar icon Pin
benjymous17-Oct-07 23:15
benjymous17-Oct-07 23:15 
GeneralRe: C# Web application for Taskbar icon Pin
Sun Rays18-Oct-07 2:18
Sun Rays18-Oct-07 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.