User Profile

Collapse

Profile Sidebar

Collapse
zeeshanks
zeeshanks
Last Activity: Oct 5 '08, 04:33 PM
Joined: Dec 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JSF pages - pressing a button first calls the constructor

    Hello,
    I 'm making my first JSF page using jdeveloper. The problem i'm facing is that every time i press a button for which i have an action method, the constructor is called first. I only want the constructor to be called at the beginning of the application.

    Any help would be highly appreciated.
    Following is the jsf button code:

    Code:
      <h:commandButton value="Submit"
    ...
    See more | Go to post

  • Deploying .NET web service on Oracle application server

    Dears,
    Is there a way to use a .NET web service on an oracle application server?

    Thanks,
    Zee
    See more | Go to post

  • zeeshanks
    replied to Show image in a table
    in .NET
    I 'm still not able to show the image in the table. It only shows the link of the image.

    Do i need to change the "Image" Column type in the table declaration in HTML section of the form?...
    See more | Go to post

    Leave a comment:


  • Yes i want this in VB. NET.
    Thanks for the link. The items 'ClientScript' AND 'StringBuilder' are being underlined blue (ClientScript is not declared and stringBuilder is not defined)

    Which class do i need to import to fix this?

    Thanks...
    See more | Go to post

    Leave a comment:


  • zeeshanks
    replied to Show image in a table
    in .NET
    Hello,

    I 'm already inserting in the other columns and i have the image path (http://localhost/images/small/logo.jpg) which is also being inserted in the Image column but i dont know how it can be displayed.





    [CODE]...
    See more | Go to post

    Leave a comment:


  • Do i save it to a .js file and then call it from Page_Load? Sorry for these questions as i haven't used javascript in VB.NET...
    See more | Go to post

    Leave a comment:


  • zeeshanks
    started a topic Show image in a table
    in .NET

    Show image in a table

    Hello,

    I have the following table. Now, in the Image column i want to add an image for each row. How can i do it? Can anyone please help in this:


    Code:
    <asp:table id="Table3" style="Z-INDEX: 102; LEFT: 50px; POSITION: absolute; TOP: 476px" runat="server" Height="28px" Width="689px" Font-Size="Medium" GridLines="Both" Font-Names="Calibri">
    ...
    See more | Go to post

  • Dears,

    I have a weird problem. I have a table which i have defined as follows:

    Public Shared Table1 As System.Web.UI.W ebControls.Tabl e


    Everytime i compile or close the VS.NET, it changes it back to the following:

    Protected WithEvents Table1 As System.Web.UI.W ebControls.Tabl e


    Everytime i compile, i have to change this as well.

    Any help?
    See more | Go to post

    Leave a comment:


  • This is java script code but i want to be able to modify it from the vb code. Is that possible?...
    See more | Go to post

    Leave a comment:


  • Hello,

    I 'm also in a similar situation where i need to set the input type values dynamically. In the HTML code of the web form in VB.NET, i have the following:

    [HTML]<input type="hidden" name="item_name _1" value="Datastru ctures in C++">
    <input type="hidden" name="item_desc ription_1" value="Introduc tion to C++">
    <input type="hidden"...
    See more | Go to post
    Last edited by acoder; Jan 1 '08, 09:50 AM. Reason: Added code tags

    Leave a comment:


  • zeeshanks
    replied to unable to move table in the form VB.NET
    in .NET
    Hello,

    Thanks for your reply. Okay by setting the style property it does change the location of the table but cant i do it by moving the table object in the design view? I have to add other objects on the form so it would be tedious to change the style property all the time.

    Thanks,
    Zee...
    See more | Go to post

    Leave a comment:


  • Hello,
    I 'm facing problem with table showing all rows in the same line. The link you have provided is for image capturing.

    Can you please provide the correct link....
    See more | Go to post

    Leave a comment:


  • How can i refresh the row content or row index?...
    See more | Go to post

    Leave a comment:


  • zeeshanks
    started a topic unable to move table in the form VB.NET
    in .NET

    unable to move table in the form VB.NET

    Hello,
    I cannot move the table from one point to another. It seems its fixed. I checked the properties and it looks fine to me.

    Following is the html code for the table:

    <asp:table id="Table2" runat="server" BorderStyle="So lid" BorderWidth="1" Width="607px">
    <asp:TableRow >
    <asp:TableCel l Width="90px" Font-Bold="True"...
    See more | Go to post

  • All rows are showing up on same line in table VB.NET

    On adding the rows, they all are showing up on same line instead.

    Code:
    For Each objResult In objResultResponse.SearchResultItemArray
                With row.Cells
                    .Add(ItemIdCell)
                    .Add(titleCell)
                    .Add(subTitleCell)
                    .Add(timeLeftCell)
                End With
                Table1.Rows.Add(row)
            Next
    ...
    See more | Go to post

  • zeeshanks
    replied to VB.NET App: Unable to add items in a list
    in .NET
    Hello,

    Okay previously i was calling a function that was inserting in the listbox. I copied that code and pasted in the button_click code and it works.

    I 'm new in VB.net so may be i 'm doing something wrong. Previously i was doing the following.

    [CODE]

    Private Sub Button2_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button2.Click
    Dim frm2 as new Webform2()...
    See more | Go to post

    Leave a comment:


  • zeeshanks
    started a topic VB.NET App: Unable to add items in a list
    in .NET

    VB.NET App: Unable to add items in a list

    Hello,

    I 'm getting the error "Object reference not set to an instance of an object." when i 'm trying to add something in the listbox. I was first inserting data retrieved from Oracle but then i tried with just a hardcoded string and still its giving the same error. Also, when i store the data in a string variable, it works but their are multiple records returning from the sql query which i want to add in the list.
    ...
    See more | Go to post

  • Hello,

    The following code is for a windows form and its using listview. I want to do the same thing in a web form. I was advised to use the datagrid but i 'm not sure how to use it. I will highly appreciate if you can please help.

    Code:
     For Each fnditem In fnditems
                    Dim listparams(2) As String
    
                    listparams(0) = fnditem.Item.ItemID
    
                    listparams(1)
    ...
    See more | Go to post
    Last edited by Frinavale; Dec 18 '07, 02:02 PM. Reason: Fixed Code Tag

    Leave a comment:


  • This is also not that easy.

    I have put a datagrid on my web form.

    I typed the following like i do for listview in windows form:

    Dim vi As DataGrid = New DataGrid(strPar ams)

    It highlights it and tool tip says "overload resolution failed because no accessible new accepts this number of arguments"

    Any help?...
    See more | Go to post

    Leave a comment:


  • display data from oracle database in a web form VB.NET

    Can anyone please advise how to fill a dataset with data returned from an oracle based sql query?


    Thanks,
    Zee
    See more | Go to post
No activity results to display
Show More
Working...