User Profile

Collapse

Profile Sidebar

Collapse
truezplaya
truezplaya
Last Activity: Mar 12 '12, 08:42 AM
Joined: Jul 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • truezplaya
    started a topic Calling a web service via javascript
    in .NET

    Calling a web service via javascript

    I've searched numerous places on the web and haven't been able to get my solution to work. I have set up an web service and all works perfectly. It a very simple one just one method that retruns hello world as a string

    Code:
    namespace MyWebApp
    {
        /// <summary>
        /// Summary description for FirstSharePointWebService
        /// </summary>
        [WebService(Namespace = "MyWebApp",
    ...
    See more | Go to post

  • Can you create an aspx page for sharepoint and then deploy programatically using xml

    Hi

    I have many pages that i would like to deploy to a sharepoint instance all at once.

    I know you can deploy lists in a similar way and i was wondering if anyone else could point me to an example where an aspx page is deployed in this way.
    See more | Go to post

  • truezplaya
    started a topic Custom control click event
    in .NET

    Custom control click event

    Hi

    I have created a custom control that contains a click event within it. Is there any way that you can then repurpose the click event when calling the control.

    Lets say my custom control is a button.

    As a standard i want it to redirect on click.

    All the above i have working.

    Can i now take my custom control and change what the click event does without altering the base ...
    See more | Go to post

  • ViewState: How can I set the other buttons viewstate settings.

    Hey

    I am currently working on a project that requires me to create an x amount of buttons dynamically. I have developed a custom link button that adopts a style etc etc.

    I have inherited from this button and i have then added a property that basically holds a bool value that states if it is currently togged on. Similar to a check box either true for ticked or false for not ticked.

    Now when i click on...
    See more | Go to post

  • SharePoint or .net

    I had been studying a degree for four years and mainly used .net and java. Other bits and bobs and was set to be going down the .net path.

    I was then given an opportunity to work with sharepoint and knew very little about it.

    Sharepoint could be described like marmite you either love it or you hate it. Many developers hate it as it was designed for the end user without the developer...
    See more | Go to post

    Leave a comment:


  • Can't you just not populate the data to the grid if a value == something?
    See more | Go to post

    Leave a comment:


  • truezplaya
    started a topic Httpwebrequest is hanging and then timing out

    Httpwebrequest is hanging and then timing out

    I am trying to get some information from a yahoo csv shares file. For instance

    http://uk.old.finance. yahoo.com/d/quotes.csv?s=%5 EDJI&f=sl1d1t1c 1ohgv&e=.csv

    I create my httpwebrequest
    set my object method to get
    and then try to get the responce

    but my app times out on the get responce, I was wondering if this is because it is waiting for a user to select open, save or cancel in a...
    See more | Go to post

  • Create a drop down with some numbers in or even use the numeric up down control

    Once they have selected a number either fire a selected index changed event or an on click event.

    Something along these lines

    Code:
    //Convert the text from the drop down to an int
    //do a for loop
    Button objButton = new Button();
    objButton.Name = //for loop integer here
    // Set other button properties
    ...
    See more | Go to post

    Leave a comment:


  • truezplaya
    replied to DateTimeControl Sharepoint Dev
    in .NET
    Hi all i've managed to crack it!!.

    The control didn't seem to be inheriting the default locale id.

    You can set this within your control properties.

    Code:
    DateTimeControl objDTControl = new DateTimeControl();
    objDTControl.LocaleID = SPWeb.Locale.LCID;
    Cheers truez
    See more | Go to post

    Leave a comment:


  • truezplaya
    started a topic DateTimeControl Sharepoint Dev
    in .NET

    DateTimeControl Sharepoint Dev

    I am currently working on a piece of software that works!!!!!!

    However, the DateTimeControl is using the incorrect locale and/or regional settings.

    It is the only date on my sharepoint site that is giving me the incorrect format and it's starting to bug me!

    I have changed the settings on the server to the correct locale/regional settings and i have checked my browser has the same language settings....
    See more | Go to post

  • Excel file created and then stored to local c drive

    I have been creating a project locally and i have got it working!!!! I am almost ready to deploy to a server but after a little thought realised one of my functions would not work.

    I retrieve data from a database and then populate it to a excel file, This part will work. However saving it to the machine that requested that data i think won;t work. Can anyone point me to a tutorial or a few so i can try and rectify this myself. I am also...
    See more | Go to post

  • http://www.c-sharpcorner.com/UploadF...eSPwithDP.aspx

    I'm not entirely sure this is what you are looking for but have a look towards the end of the page. It has a little sample of adding parameters

    truez...
    See more | Go to post

    Leave a comment:


  • Returning Data back from Dynamically created fields(javascript)

    Hi

    Once again i am faced with an issue. I must allow a user to add as many pieces of data as they wish. I have therefore employed some javascript from an tutorial

    http://www.mredkj.com/tutorials/tableaddrow.htm l

    I would now like to return the data from the dynamic fields through the c#(.cs page) but i have no idea how. Could anybody point me to an example that i could apply or give me a push in the right...
    See more | Go to post

  • truezplaya
    replied to Removing all items from a list view
    me being silly i am afraid. The answer my very first post but i should have been clearing my local sets of data , Slightly embarassing. Sorry
    See more | Go to post

    Leave a comment:


  • truezplaya
    replied to Removing all items from a list view
    This also fails, I know its a databind but surely the databind on the null dataset would have refreshed this. The item is being removed from the DB but not from the screen. It's sooo annoying.
    See more | Go to post

    Leave a comment:


  • truezplaya
    started a topic Removing all items from a list view

    Removing all items from a list view

    hi

    Another niggling issule. I am trying to remove all the databound items from my listview but it doesn't work. I am trying to remove the items as i have used the delete command button (alongside with the updateand edit)

    I have tried.

    Code:
    listview1.items.clear();
    Code:
    listview1.datasource = null;
    listview1.databind();
    But none of these have worked....
    See more | Go to post

  • Well i need to do it using preferably the .net framwork, Since i am working to a dead line i will keep the things you have mentioned in mind and maybe look them up at a later date. I will work from your suggestion of making another call to the database.
    See more | Go to post

    Leave a comment:


  • Cheers Frinny

    I now understand.

    Do you know of any web controls that can hold objects without converting them to their own type as such
    See more | Go to post

    Leave a comment:


  • C#

    I have been told that it is possible

    and i am also looking in to how i populate the listbox
    See more | Go to post

    Leave a comment:


  • tlhintoq thanks for the reply however this doesn't solve my issue it is still having problems with casting.

    Frinny- I was under the impression that you were able to pass objects in and then get the objects back out of the list, if this is not the case i will have to make a call to my DB to solve this issue

    Cheers
    Truez
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...