User Profile

Collapse

Profile Sidebar

Collapse
joss Perold
joss Perold
Last Activity: Aug 27 '13, 08:43 AM
Joined: Feb 11 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • joss Perold
    started a topic Dynamic Gridview Header Wrap Text

    Dynamic Gridview Header Wrap Text

    Hi I have a Gridview, where I create dynamic headers on RowCreated. Thats all fine, but the text in the header column doesn't wrap. This makes the columns way to wide. I have tried cell.wrap = true which does nothing. Any help would be appreciated.

    Below is the RowCreated code.

    Code:
           Dim gvrHeaderGridview3 As New GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Insert)
    ...
    See more | Go to post

  • Thanks Dormilich I will have a look and see if I can implement that....
    See more | Go to post

    Leave a comment:


  • Hi Dormilich

    Yes most of the textboxes need to be validated the same, there are exceptions for textboxes that have been disabled as calculation answers are put in them. Otherwise they are all validated the same. Remember that I have many GridViews across many pages. Hence the external js file....
    See more | Go to post

    Leave a comment:


  • Passing gridview control to external JavaScript file

    Firstly i am very new to anything to do with javascript, so excuse me if this seems easy.

    I have a project with many gridviews in it, now these gridviews have many columns with textboxes for input. I would like to do javascript validation on these textboxes. I have managed to get it to work if the gridview renders on page load. Like so :

    Code:
    Protected Sub gvProjectedBuildingAreaSchedule_PreRender(ByVal sender As Object,
    ...
    See more | Go to post
    Last edited by Meetee; Nov 28 '12, 10:46 AM. Reason: please use code tags <code/> around your code

  • joss Perold
    started a topic Ajax ComboBox Button not working

    Ajax ComboBox Button not working

    Hi, I have a ajax combobox on my asp.net webpage which doesnt appear to be working correctly. The dropdown button seems to be disabled. Doesnt matter where i click it doesnt work.

    Here is the ASP:

    Code:
    <ajaxToolkit:ComboBox ID="cmbPortfolio" runat="server" DropDownStyle="dropdownlist"                    AutoCompleteMode="SuggestAppend" RenderMode="Block" BackColor="#f9e4c5">
    ...
    See more | Go to post

  • Reference a Textbox in a dynamically created header row in a gridview

    Hi

    I have a gridview that onRowCreated adds a second header row above the first one. In the created one there is a textbox control. My question is how would I access that textbox in the code behind?


    The code for the created row is below:

    Code:
     
                If e.Row.RowType = DataControlRowType.Header Then
                    Dim gvHeaderGrid As GridView = sender
    ...
    See more | Go to post

  • Thanks for the prompt reply, so as i understand it the grid has to be rebuilt, thats fine, but how do i do that if the onclick event doesnt fire?
    See more | Go to post

    Leave a comment:


  • Dynamically Created Gridview with Button in footer template

    Hi

    I have created a gridview dynamically from scratch and added it to my aspx page. This works fine, but i have a button in the footer of on of the columns, which when clicked on makes the gridview disappear and doesn't fire the onclick event that it should. This should obviously not be the case. My question is why does the event not fire and why does the gridview vanish?

    Bear in mind i have never created aa gridview...
    See more | Go to post

  • Hi Frinavale

    I managed to implement what you said here, but now the problem is that it works fine for one column, but the rest it throws an error for

    "The TargetControlID of 'txtPracComplet ion_CalendarExt ender' is not valid. A control with ID 'txtPracComplet ion' could not be found.
    "

    but the control is there, am i missing something?

    Code:
      <Columns>
    ...
    See more | Go to post

    Leave a comment:


  • joss Perold
    started a topic Textbox Calendar Extender in a gridview

    Textbox Calendar Extender in a gridview

    Hi

    I have a a gridview with a number of columns, each column has a textbox with a calendar extender attached. The problem comes when i click on the popup button, it opens a calendar for each row in the column at the same time. So if there are four rows, it will open 4 calendars.

    How do i make it only open the one for the specific row i am working with?

    I am very new to Ajax so i am rather confused....
    See more | Go to post

  • Ok never mind, my mask was incorrect 99.9% thanks again
    See more | Go to post

    Leave a comment:


  • Yarbough40

    Ok i tried what you said and it works fine to convert, but when it loads the converted number into the MaskedEditExten der the decimal values come out wrong. for example: 0.105 should display as 10.5% or 10.50% but instead it displays as 15.0%.

    Just to reiterate the mask i am using is 99.99%
    See more | Go to post

    Leave a comment:


  • Hi Yarbrough40 thanks for that i will give it a shot.

    appreciate it
    See more | Go to post

    Leave a comment:


  • joss Perold
    started a topic Masked Textbox and Percentages

    Masked Textbox and Percentages

    Hi I have many textboxes that I need to have display percentages. I have used a masked textbox extender and the percentages display fine. using 99.99% as a mask and number as the mask type.

    Now my problem is that i want it to be converted to a decimal when i save it to the database e.g 50% saves as 0.5 and then when it comes back from the database it must display as 50% again. This is needed for numerous calculations. IS there a...
    See more | Go to post
No activity results to display
Show More
Working...