User Profile

Collapse

Profile Sidebar

Collapse
discusshere
discusshere
Last Activity: Mar 20 '14, 07:54 PM
Joined: Aug 27 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Radiobuttonlist selectedindexchanged not firing!

    I am stuck with the Radiobuttonlist not working despite the autopostback="t rue" . It is strange because it was working well previously. I did not make any change to the code. Here is the code that I am using.

    If staple value="5" is checked, it should make the div staplelocation visible.Code behind is also available below.

    Code:
    <table border="true" bordercolor="black">
    ...
    See more | Go to post

  • Can we write code to count pages in a file irrespective of its type?

    Hello,
    I have to count the number of pages in the document that I am uploading. This document can be a word file, xls, txt or pdf. I have my code working for pdf but not for other types. Here is the code that works for pdf- it uses regex

    Code:
    System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.Open, System.IO.FileAccess.Read);
                    System.IO.StreamReader r = new System.IO.StreamReader(fs);
    ...
    See more | Go to post
    Last edited by Rabbit; Aug 27 '13, 08:24 PM. Reason: Please use code tags when posting code.
No activity results to display
Show More
Working...