Hi, I have been working on a listview of late that shows doctors names and icon and some other information. The problem is when I click on each listview item I expect to get each listitem's associated doctorid and using that doctorid, I want to do something else. But unfortunately whichever listitem I click (touch actually), I am getting doctorid of the first listview item. I have used a custom layout for each list view item and used a custom adapter for binding data. Custom each list item layout: -------------------------------------------------------------
Arindam Tewary
Posts
-
ListView onclick fetches first object id - need to have each rows id -
Updating multiple cascading spinner by AsyncTask - what would be best approachYah, Thanks Richard, I could figure out this. I noticed that the first param is an array of argument(varargs) in execute method in AsyncTask and that is something I could use for this purpose. I could just pass an indicator string just to differentiate and used switch-case in onPostExecution method and I could get it going today. I will check with passing view id would help me better.
Thanks, Arindam D Tewary
-
Updating multiple cascading spinner by AsyncTask - what would be best approachI was looking for suggestion what would be best approach in below scenario: 1. Have 3 spinners ("districts", "city", "shops"). 2. Once user select an item from "districts" spinner, "city" spinner is populated and once city is selected "shops" could be selected. Now I have used a subclass of AsyncTask class to populate district spinner. For populating other spinners "city" and "Shops", is writing separate subclass dedicated to each sinner the only option and update each spinners (which is a View) in each class's onPostExecute() method ? Is there any way to use a single subclass of AyncTask and use that for populating all "cascaded" spinner ? What could be best approach in such scenario.
Thanks, Arindam D Tewary
-
Installaing SSL Certificate into server which contains load balancerThanks Rene. I am yet to get some information from actual environment (information such as some more details about load balancer and if in our target environment we have sticky session or not. I will get back as soon as I get some of this information.
Thanks, Arindam D Tewary
-
Installaing SSL Certificate into server which contains load balancerHi, I have a deployment environment that contains 2 server A and B both are configured to use a load balance system. Now the connection has been upgraded to SSL and we need to install certificate to both system. Can you please help me informing, 1. Do I need to have same certificated installed in both system (A and B) or different certificate in both (A contains a certificate and B contains another certificate) Thanks in advance.
Thanks, Arindam D Tewary
-
javascript function call using ScriptManager.RegisterStartupScriptHi, The code you have written is OK but one problem. ScriptManager.RegisterStartupScript function's last parameter is a boolean value and it is used for mentioning whether "" tag need to be appened to the rendered script. In your code as you have appended <script> tag already, and while calling the ScriptManager.RegisterStartupScript function, 5th parameter you have mentioned as true, then in client side, system generates script tag twice and rendered. As a result the rendered code is here, <pre> <script type="text/javascript"> //<![CDATA[ <script language='javascript' type='text/javascript'>ShowValue();//]]> As you see, it is wrong and if above code is rendered, then surely it gives error. :) To correct it, you need to call ScriptManager.RegisterStartupScript with "false" value as the last parameter if from the code behind side you are appending the script tag.
ScriptManager.RegisterStartupScript(this, this.GetType(), "ShowValue", script, false);
Hope that helps,
Thanks, Arindam D Tewary
-
Aaaargh - just washed myphoneMy old nokia phone(purchased some 4 years back) also got a nice WASH in a bucketful of water but survived. But one of my friend was not that lucky when his latest model Nokia accidentally got drenched in rain!!! He had to thorw it to bin and thats some E-Series nokia ... :) Older mobiles were much water resistive !!!!
Thanks, Arindam D Tewary
-
No kidding: 10-year-old girl becomes mom, dad a minor too [moved]This is very shocking !!!
Thanks, Arindam D Tewary
-
Any book suggestions for a working programmer?Anytime refer to msdn which is best resource for your purpose. Initially you might have some problem but once you keep getting how is organised, you would be amazed to see that MSDN is the superset of all study material/books :)
Thanks, Arindam D Tewary
-
I feel so dirtyYou must be carrying your C/CPP habbit!! That happens :)
Thanks, Arindam D Tewary
-
Signature is missing in Question - AnswerOkey. I felt that it was there at least some time and now it was missing. Thanks Chris. :)
Thanks, Arindam D Tewary
-
What is most important to you, Priorities your order?6 direct reply and in 5 post PAY becomes number one priority ans in 1 post Pay is not number one priority. Cheers "PAY" Lovers !!! :cool:
Thanks, Arindam D Tewary
-
What is most important to you, Priorities your order?You are absolutely correct my friend. :laugh: But my experience, give a fair chance to everyone, most people goes for money or "high pay", some succeeds, while some compromises with other compensation !!! But I am sure you might be the person who never runs after money !!(and exception defines the rule :-O ) :laugh: You rock man!!
Thanks, Arindam D Tewary
-
What is most important to you, Priorities your order?Just wondering, if your pay package is less than your peer but having a lot of work(variety of technology, challenging work and so on.. = Opportunity) how would you gonna cope with that. Nevertheless, appreciate for being honest my friend!!! Rate you a high FIVE :laugh:
Thanks, Arindam D Tewary
-
What is most important to you, Priorities your order?1. Pay 2. Work Environment 3. Opportunity 4. Company First 3 is utmost important and I if first 3 are perfect, then "Company" is automatically good so taken care :laugh:
Thanks, Arindam D Tewary
-
Signature is missing in Question - AnswerWell, I believe signature is there( in codeproject's database) in the database as in this lounge while posting a message it appended automatically ... :) Or is that feature was removed from question and answer section !! :sigh:
Thanks, Arindam D Tewary
-
Signature is missing in Question - AnswerCurrently it is not happening in Q & A section. I have been posting some answer past few days and didnt find the signature is appended so I wrote it manually :doh: ( typed it) .. but in other places(messeage posting in any forum or lounge section) I am seeing it is OK.
Thanks, Arindam D Tewary
-
Signature is missing in Question - AnswerEarlier signature use to append automatically in Questions and Answer section while postng an answer ... it does not appear now. Would have been nice if signature is appended automatically ... I checked some of my old post having signature ... now I need to write it ...
Thanks, Arindam D Tewary
-
Can we have a dedicated forum for Compact Framework ( .NET and Sql CE )Dear Codeproject Moderators/Administrators, I have been here for a long time and frankly I have been benifitted a lot. Thanks a ton to Codeproject. So many wonderful feature and nice articles and along with outstanding forums on different programming topic. Off late I have started with .NET compact Framework APIs to develop application for windows mobile device. However, I found there is no dedicated forum for discussing .NET CF. Can we have a dedicated forum for .NET CF please where we should be able to discuss issues/problems for .NET Compact Framwerk and (and Sql Server Compact Framwork)? Have a nice day.
Thanks, Arindam D Tewary
-
Problem in redrawing Rectangle on "Up Arrow Key Down" in MFC Dialog Based applicationThanks Mr. Palini for reply. I just started VC++ MFC couple of days back. I am still not very much comfortable in it after comming from C# background. So I directly called that OnPaint method. I would keep learning about it in comming days for sure. I used your suggestion but still it does not repaint it. :( . Any other idea sir?
Thanks, Arindam D Tewary