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 Chris Miller 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: MayoorPatel
  • Order by date
  1. MayoorPatel

    Passing Value from DIV TAB id to dropdown Onchange Event

    Hi there I have a dropdown <select name="OrganisationID" size="1" class="text300" onChange="javascript:document.forms[0].submit();"> and a set of div tabs. <td id="cardActivitySchemeTab" class="selectedTab"...
  2. MayoorPatel

    Appending A Value to the Querystring

    Hi there I would like to append a value to the submit action, depending on which DIV tab is clicked. Here are the DIV tabs <tr class="tab"> <td id="cardActivitySchemeTab" class="selectedTab" onclick="moveTabSectorSkillsReports(this.id, 'cardActivityScheme');">Card Activity by...
  3. MayoorPatel

    DIV Tabs not remembering state apon refresh

    Sounds like an Idea. I'll try it thanks! Mayoor
  4. MayoorPatel

    DIV Tabs not remembering state apon refresh

    I have a tabbed menu, to demostrate this correctly I have created a test account on our website http://demo.myskillsrecord.co.uk/sectorskills/login.asp ID : 8863 username : test password : test Click on sector skills reports and you can see a tabbed menu. The problem is when I go to the third...
  5. MayoorPatel

    Converting getdate to Varchar

    ok im now getting Msg 102, Level 15, State 1, Procedure p_GetAllCardsIssuedByOrganisation, Line 7 Incorrect syntax near '('.
  6. MayoorPatel

    Converting getdate to Varchar

    Hi there I'm trying to assign a default value to the parameter @EndDate but I keep getting this error when I execute the procedure and pass no parameter to the @endate Msg 241, Level 16, State 1, Procedure p_GetAllCardsIssuedByOrganisation, Line 0 Conversion failed when converting datetime from...
  7. MayoorPatel

    Search Query Help

    Hi there I have several fields on which a user can search on. I have set up my webform as you can see from this screenshot. http://www.mayoor.co.uk/screenshot.jpg I would like to write a SQL query where by if anyone types any combination of entries into the fields the query will retun all...
  8. MayoorPatel

    I'm getting a blank option in my dropdownlist

    Hi there I have a javascript array which is populated by the database <script language="Javascript" type="text/javascript"> <!-- var subTextArray = new Array(); var subValueArray = new Array(); subTextArray[4] = new Array(); subValueArray[4] = new Array(); subTextArray[4][1] = "4.1...
  9. MayoorPatel

    Dillemma regarding Distinct and Join

    Hi there I have a query which is used to search a database for judgements. Each judgements can have many Categories and each category can have many subcategories. select j.id, sc.[description] as subcategory, sc.[id] as subcatid, c.[description] as category, c.num as catid, j.file_no_1 + '...
  10. MayoorPatel

    Looping through Multiple Dropdowns with different ID's but same elemen

    Hi there I have a category and subcategory dropdown on my form as follows http://www.mayoor.co.uk/cat1.jpg However I want to have another 4 of these with different ID's. The code used to set the selected item is as follows If Not ds.Tables(2).Rows.Count = 0 Then...
  11. MayoorPatel

    Populating a Multi Select Listbox from the Request Object.

    It is entering the loop because I have put a breakpoint where that piece of code starts and it loops through all the code fine. The problem is with the postback. Let me show you. the page load calls Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  12. MayoorPatel

    Populating a Multi Select Listbox from the Request Object.

    Hi there vbkris Im not seeing any output at the top of the page all I see is the postabck form i.e same as usual??
  13. MayoorPatel

    Problems with Multi Select Listbox

    Nope thats now giving Index was outside the bounds of the array. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details...
  14. MayoorPatel

    Problems with Multi Select Listbox

    Right the reason why its failing is because its trying to compare 0 which is what the array loop starts on with a listbox item reference which doesnt exist. the listboxitems selected are 119 120
  15. MayoorPatel

    Problems with Multi Select Listbox

    ok tried that no its saying Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception...
  16. MayoorPatel

    Problems with Multi Select Listbox

    Ok have changed the i to type ListItem and it's now got a problem with the array "arySelectedSubcategoryItems". It's saying "Value of type string cannot be converted to System.Web.UI.Webcontrols.ListItem" and it underlines "arySelectedSubcategoryItems" on the line For Each i In...
  17. MayoorPatel

    Problems with Multi Select Listbox

    I have a multi select listbox on a form which posts to the server and then returns to the form prepoulated with the items it just posted. I have the following code to populate the dropdown (subcategory) but for some reason it only highlights the first row, when actually ive selected 4 or 5...
  18. MayoorPatel

    Populating a Multi Select Listbox from the Request Object.

    Hi there, that brings up the form but it only selects the first option unfortunately. :(
  19. MayoorPatel

    Populating a Multi Select Listbox from the Request Object.

    ok guys i now have something which I think is close If Not Request(subcategory.ID.ToString).Equals(String.Empty) Then arySelectedSubcategoryItems = Request(subcategory.ID.ToString).ToString().Split(",") For Each i In arySelectedSubcategoryItems...
  20. MayoorPatel

    Populating a Multi Select Listbox from the Request Object.

    Ahhh right ok.. Right ive got something like this. If Not Request(subcategory.ID.ToString).Equals(String.Empty) Then aryTextFile = Request(subcategory.ID.ToString).ToString().Split(",") For Each i In aryTextFile if i = ...

Part and Inventory Search

Back
Top