|
Balagurunathan S wrote: Someone help in this regard as early as possible
When you're paying for help, you can say stuff like this.
It's hard to follow quite what you mean, you're saying that if you select item four and it posts back, item three is shown ? Have you set breakpoints to step through the code and see what's going on ? I doubt we can help you without seeing some code and some comments on what you see in the debugger.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Dear Graus,
I am just binding values to the dropdownlist from the database using the following code.Here ldset is the dataset
ldset = gobjClass.CW_GETBETOPT()
Dim lBetViewFilter As New DataView
lDataRow = lDataViewFilter.Item(0).Row
lBetViewFilter = FindValueInBetViewReturn(ldset, "GAMEID='" &lDataRow("GameID") &"'")
Me.DropDownList1.DataSource = lBetViewFilter
Me.DropDownList1.DataTextField = "bettypedesc"
Me.DropDownList1.DataValueField = "BetTypeId"
Me.DropDownList1.DataBind()
Me.DropDownList1.SelectedIndex = 0
The problem is exactly what u said that is if i select item four and it posts back, item three is shown ..Kindly help in this regard..
Thanks in Advance..
Balaguru
|
|
|
|
|
hi
i have a button. in button click i write this code:
Response.Redirect("http://spserver3:3030/site2/Shared%20Documents/Forms/AllItems.aspx?View={1753B955-263E-42C0-A330-2E8A966E30E4}&FilterField1=ContentType&FilterValue1=" + "AAA");
i want the bold text encode to this: "%D8%AC%D9%84%D8%B3%D9%87" but i dont know how i can encode
|
|
|
|
|
Unable to understand the problem could you plz explain it properly
Yogesh Agarwal
|
|
|
|
|
|
What is the problem?
only two letters away from being an asset
|
|
|
|
|
Validation is not being fired whenever i use the code in .js file and give the path in the content page
|
|
|
|
|
Add the link referencing the javascript file to the masterpage
only two letters away from being an asset
|
|
|
|
|
but still it's doing nothing.......
|
|
|
|
|
Looks like you got the same responses when you asked the question in the other forum.
Go away until you can follow the etiquette of this site.
only two letters away from being an asset
|
|
|
|
|
Please don't cross post. This was also posted here[^].
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
How to store information input by user in a Textbox through cookies/javascript/Ajax in and displayed it in a Listbox when onfocus() event of Textbox?
Hi all,
I am phrasing my problem in new way.... becoz there is a confusion in this article...
basically I have to save last ten URL address / or you can say any last ten text input by the user in a text box..in cookies, and when user want to type again, last ten URL address / or any input supplied by the user is displayed in listbox type of control.. on textbox foucs event
Vishnu Narayan Mishra
Software Engineer
|
|
|
|
|
use the HTTPCokkies class to add a new cokkie
<br />
<br />
HttpCookie abc=new HttpCookie(<name>,<value>)<br />
<br />
this will add a new cokkie<br />
<br />
Now to display the value of cokkies use <br />
<br />
Request.Cookies[<name>].toString()<br />
<br />
</name></value></name>
Hope this will helo you
Yogesh Agarwal
|
|
|
|
|
hi all,
i have a textbox in datagrid....
i want to make this textbox readonly =true;
for that i wrote the coding like this in the item databound event
TextBox txtAP=(TextBox)datagrid.FindControl("txtH1a");
txtAP.Readonly=True;
but i am getting the error that Object reference not set to an instance of an object.
Ram
|
|
|
|
|
And which object is it that is causing the problem? Have you tried debugging?
only two letters away from being an asset
|
|
|
|
|
I have a case where I have a db with the active directory user names and the CN entry from thier certificates. I have searched all over but cannot find anyway to do this. I need to extract the certificate information and the code to add it into IIS progromatically on a 1-to-1 basis or the code to add an entry to create a CN mapping to thr user name using a many-to-one basis. This works manually but I have to many accounts to do this manually. If antone has any suggestions and code samples I would be thankful. Please e-mail me at bmores@eciii.com with any suggestions.
|
|
|
|
|
Hi, guys.
Its the question. How can i get page, which need authorization(using known username and password). For example, how to get my new messages in FaceBook? I can parse it of course to get exactly what I need, but how can I get it?
Sorry, if it's stupid question. I'm just learning. Thanx.
|
|
|
|
|
Write a screen scraper that sends a HTTP POST request to the site. The POST request should contain the user's login details. You would need to know how the login form submission works on the site, i.e. what the format of the POST request should be. You can then scrape the HTTP response to get your messages.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Me again.
I have a strange problem with StatusCode.
I want to simulate a '500 Internal Server Error' by setting Response.StatusCode equal to 500, but it doesn't seem to work.
I've turned on trace, page renders properly, but the Status code in trace is 500.
I even turned on custom errors in web.config, but Response.Status = 500 doesn't make ASP to redirect to a page inside web.config, but when I misspelled a URL, ASP redirects me to a 404 error page.
Can anyone tell me how to simulate page status like that error really happened?
Thank you so much!
|
|
|
|
|
It's early in the morning here, so I apologise if this seems a bit muddled, but you could probably simulate this using an HttpHandler. In fact, thinking about it, this would probably be the best way to do this.
|
|
|
|
|
Thank for your reply, but could you give me any example how can I do this?
I don't quite understand how can I simulate 500 internal server error with HttpHandler?
On the other hand, I do use HttpHandler for captcha.
Sorry for late reply. I had some issues with logging on Code Project.
|
|
|
|
|
Kasic - if you take a look at my blog here[^] you should find the answer.
|
|
|
|
|
I did take a look, but this post is written today .
I was few days ago on your blog .
Anyway, thank you for your help.
|
|
|
|
|
How to create standalone web service (if that is the right term) that is resident in memory and running all the time? I mean I dont need url for it , start page adn of course no interaction.. I mean I dont want to invoke any function or call WS in another app, just want to have it running all the time.
WS will check some web site for some word and inform me by email when it appears.
Regards,
Jalle
modified on Friday, February 29, 2008 3:43 PM
|
|
|
|
|
What you're asking for is called a Windows Service
only two letters away from being an asset
|
|
|
|