Search

You searched for the word(s): userid:43656

Matching Posts

  • auto increase control id

    Stuck in an issue like these: 1. create a web control 2. create another web control, served as collection item to the first one 3. in vs.net 2005 design mode, add the 2nd control to the first control's collection, the id of the 2nd control is always use the default id value, not increasing. can anyone suggest a way to resolve this? Thanks,Timothy
    Posted to Web Forms (Forum) by timothymo on 10/4/2007
  • Re: How Post_Back works when linking to another page...

    u must have mixed with hypelink and redirect (with postback). First, buttons (Image button, button, Hyperlink button) will create a postback, but hyperlink wont (let's not discuss those custom postback in javascript). For the case of redirect, all the page events will be triggered until you actually redirect away to another page (assume u supply true to the function). And when in another page, the page will be loaded as a normal new page.
    Posted to Web Forms (Forum) by timothymo on 3/13/2007
  • about scheduler

    Scheduler in DNN is a amazing. I was trying to implement a similar copy of the code in my application, to replace windows service to do some daily jobs. Well, my problem is, the thread will only be alive for a few hours, and then it will depend on a new request to trigger the application start event to create a new thread. So, if no one makes any request, the jobs will not be run, say, during weekends. Can anybody suggest some ways to keep the thread alive? I dig into DNN scheduler source code, dont
    Posted to DotNetNuke (Forum) by timothymo on 7/3/2006
  • will storing config data in web.config file affect system performance?

    Hi all, I was asked about whether to store err message in config file. We are working on an enterprise project, which contains abt 30+ small/mid size applications, and on average, each application has about 40+ err msg. Current design is that all apps maintain their own err msg, stored in web.config file. Now one person raises the question, says that this way will cause too many IO to web.config file, as each page reload will get web.config loaded once... Can someone give some comments? regards,
    Posted to Web Forms (Forum) by timothymo on 9/30/2005
  • Re: Can you send an argument to a function without calling it?

    i believe the problem is about how to handle dynamic created controls. as your control is dynamic created in your code, you wont be able to get their values and maintain their viewstate. the reason is viewstate is restored back to the controls before page_load event. in order to solve your problem here, you need to handle your dynamic controls properly: 1. create them during page init event, this event code is generated by vs.net ide and is hidden by default. 2. do necessary data binding during page
    Posted to Web Forms (Forum) by timothymo on 9/6/2005
  • Re: adding checkbox at runtime???

    if you dig a little deeper ... you can find out that datagrid can do almost everything ... right click on datagrid, choose "property builder", then "Format", then "Items". now you can play with the properties of "Normal Items", "Alternating Items". Having been a asp3 and php developer since year 1999, i understand the steps of displaying a data table into web page, just too troublesome, although you can control everything in html ... the moment when you turn to asp.net, you should spend some time
    Posted to Web Forms (Forum) by timothymo on 9/6/2005
  • Re: why doesn't my sort work?

    you need to have your code post out ...
    Posted to Data Presentation Controls (Forum) by timothymo on 9/6/2005
  • Re: Button That Only Runs JavaScript and doen't submit to Server

    as mention above ... you can drag one button control from html control list. one more thing you can do is that, make the button control as a server control by right click on it, "Run as server control". and then you can manipulate all the attributes properties using code behind and still, nothing submit to server when clicked.
    Posted to Client Side Web Development (Forum) by timothymo on 9/6/2005
  • Re: ImageButton that only calls JavaScript????

    you may need to add following to your code behind Page Load function. if (!Page.IsPostBack) { bFind.Attributes("onclick") = "javascript:FindLane();"; } Your original way is actually to call a code-behind function FindLane().
    Posted to Client Side Web Development (Forum) by timothymo on 9/5/2005
  • Re: adding checkbox at runtime???

    to get what you want, you should use datagrid. just create the first column as template column, and insert a check box control in, and you need to perform proper binding. Please check out the quickstart server control section. you can get some samples there. your current way is like you are coding asp 3.0 ... lots things are changed:)
    Posted to Web Forms (Forum) by timothymo on 9/5/2005
Page 1 of 7 (64 items) 1 2 3 4 5 Next > ... Last »