Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: raghu3
  • Content: Threads
  • Order by date
  1. raghu3

    how to check for null integers in codeBehind

    The problem being, the integer is not a user input. I need to say: if (id != null) { } It does not compile, I get the following: Operator '!=' cannot be applied to operands of type 'int' and '<null>' If I try Convert.ToInt32(id) It compiles but I get a runtime error...
  2. raghu3

    Multi Column Listbox or DataGrid with scroll bar

    I need the features of both list box and datagrid: Scroll bar Multi Column The list is readOnly. I need to build these lists on dynamically: onPostBack. To start with the visible attribute will be false, and postback will build the list based on user selection and set the visible to true ?
  3. raghu3

    linkbutton control

    I have a set of 6 linkbutton controls on a page : click of each will show a part of data on the page. How can I know which linkbutton was clicked in post back? my sample code: <asp:LinkButton id="a1" runat="server" Text="Name" /> <asp:LinkButton id="a2" runat="server" Text="Address" />...
  4. raghu3

    page inheritance

    With reference th the following thread: thread855-1049521 I am basically hitting a wall to have a base page as a common repository for a set of functions: maybe I will have 2 user controls: header and footer. Rest will be just c# functions and some business logic, set-reset session variables...
  5. raghu3

    link tag in user control: .ascx

    Hello, This sounds pretty simple and straight: I have a generic page_header file: header.ascx which is a common header across the web site. Would now prefer to have the style sheets in this header so that I can refernce them all over. The traditional html link tag in the header.ascx does not...
  6. raghu3

    foreign keys and constraints to have ot not

    I am migrating an access db to SQLSERVER with enhancements: .net UI, brand new design, more functionality, more data etc. I have the dbschema/layout from the users. They have given foreigh keys to every table. The current access will be used only to import in existing data. the data is not very...
  7. raghu3

    history.go(-1) does not work in firefox/netscape8

    I am going crazy over this. No error message on the javascetp console. Here is the code: <a href="#" onclick="Javascript:goback();" onMouseOver="return changeEdit()" onMouseOut="return changeEditBack()"> <img name="edit" src="images\edit1.gif" border="0" WIDTH="105" HEIGHT="25"></a>...
  8. raghu3

    common Application Path

    I am creating a generic class which will be used from asp.net console apps and web apps. I need to use something like Application.Path so that I can have only 1 copy of the class. I do not want to have the same copy at 2 places with just a path different: for console apps, it will be the...
  9. raghu3

    ping commaod from .net

    This simple function/class does not compile: public string getDC() { string retVal = ""; System.Diagnostics.Process pe = new Process(); for(int i=0 ; i<MAX; i++) { try { pe.Start("C:\\I386\\ping.exe ", IPaddr); // ***ERROR LINE ***// } catch (Exception...
  10. raghu3

    ping fro classic asp

    How can I ping a server from classic asp and check if the server is responding to this ping ? If the ping fails, I will connect to an alternate server. There are 7 such server , and I will connec to the 1st responding one.
  11. raghu3

    return from stored procedure

    what is wrong with this sp: create procedure tstSP @ret char(10)=null OUTPUT AS . . . SET @ret='returnval' RETURN @ret when I execute this, I get the following message: Syntax error converting the varchar value 'returnval' to a column of data type int. On debug the value of @ret is set...
  12. raghu3

    How to detect if a pdf in object tag is loaded

    This this code will explain: <object type="application/pdf" height=600 width=900 data=http://www. somesite.com/show_pdf.pdf > </OBJECT> If the adobe reader is not on client, It comes up with the notfound icon:red X in a white box. How can I detect that the object was loaded ? On...
  13. raghu3

    How to check if adobe reader is on the client ?

    This sounds pretty straight. How can I detect if the client has adobe reader using javascipt ? Thanks
  14. raghu3

    work around for EMBED tag

    I have the following in an .asp page: <EMBED height="600" width="900" src="" ></EMBED> where the src is a pdf file from another web site hosted. It is nothig fancy just plain text: max 5-7 pages. On IE the embed opens up the pdf but I get the following error message on netscape 8: Acrobat...
  15. raghu3

    postback event occurs twice

    Must be some thing simple. The aspx file has 3 buttons: on click of each, there is javascript validation -> set a hidden field -> submit. Post back reads the hidden field and figures out which button was clicked and performs the set operation. One such is insert a record in db. Others re-build...
  16. raghu3

    Request asp:label in code behind

    I have the following sitituation: aspx: form with <asp:Label id="txtMoveTo" Font-Name="Arial" Font-Size="8pt" runat="server" EnableViewState="True" Text=" " /> The value is set via javascript based on other selections on the form. Now I need to request this value in code-behind...
  17. raghu3

    read xml attributes in ASP.NET

    Sounds fairly straight: I have a xml file with user created attributes: <ou Text="test" img="Folder.Gif" exp="True" url="" cn="cc\cc\cc" > How do I access the user defined attribites? text,cn ... Thanks,
  18. raghu3

    alternative to microsoft treeview

    I have to manupilate huge trees: 3000+ nodes. I have a program to build am xml file:hierarchal data. Are there alternatives to the Microsoft treeview ? thanks
  19. raghu3

    stream writer question

    I am reading data from an AD/OU: hierarchical format and writing an XML file using stream writer: if (File.Exists(fname)) File.Delete(fname); StreamWriter sr = File.CreateText(fname); sr.AutoFlush=true; < ... read data tmp1= data; sr.WriteLine ("{0}",tmp1); sr.Flush(); ...>...
  20. raghu3

    tree views in web forms 1.1

    I need to create a web based UI tree view on our intranet. We have .net 1.1. Is it possible to create tree view on 1.1. thanks

Part and Inventory Search

Back
Top