|
Are you calling the event explicitly inside another event or not?
Gautham
|
|
|
|
|
I am sending my code example:
Private Sub SetCookieValue(ByRef cboTemp As DropDownList, ByVal strCookieName As String)
Dim iValIndex As Integer
iValIndex = cboTemp.Items.IndexOf(cboTemp.Items.FindByValue(GetCookie(strCookieName)))
If iValIndex > 0 Then cboTemp.SelectedIndex = iValIndex
End Sub
'in Form_load call function.
SetCookieValue(cboProdukte, "Support.StartCase.Produkt")
>> hier I am calling event. or it can be also in SetCookieValue function called.
Thanks
Tolga YARAMIS
|
|
|
|
|
Sorry, i could not grasp your code however try this:
when you trying to call the event explicitly give this way - dropdownlist1_selectedindexchanged(this, eventargs e)
Gautham
|
|
|
|
|
I think this code should be in vb.net like this but I still got an error.
cboProdukte.SelectedIndex = 2
call cboProdukte_SelectedIndexChanged(Me, EventArgs e)
Error:
'EventArgs' is a type and cannot be used as an expression.
Tolga YARAMIS
|
|
|
|
|
try with none in place of "e".
It'll work!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
I could not understand what u mean...
can u gime me an example?
Thanks alot.
Tolga YARAMIS
|
|
|
|
|
In place of
cboProdukte_SelectedIndexChanged(Me, EventArgs e)
try
cboProdukte_SelectedIndexChanged(Me, none)
It should work!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
I want to upload images from external folder to web page by using drag and drop method.
please help me.
|
|
|
|
|
tulsulkar wrote: I want to upload images from external folder to web page by using drag and drop method.
What you have tried so for.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
hello,
take a fileUpload control and browse the files u want and write code to upload that files to database
ok byeee
Murali
Murali
|
|
|
|
|
I think this functionality is for desktop application.
God Bless you.
Always do good to others
|
|
|
|
|
i have a error to access page , can any tell me.how to solve this error
from my project.
Path '/fData/DataList.aspx.vb' is forbidden.
at System.Web.HttpForbiddenHandler.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
on.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
amit
|
|
|
|
|
hello amit,
I think some coding errors or database retrieve connections might be wrong plz verify those connections,u will get output...
ok byee
Murali
Murali
|
|
|
|
|
Hi
I was wondering if someone would be able to give me some advice on this problem
I have a table which displays my user details to the administrator, i have buttons at the end of each record which when i click on them I want it to be able to load that specfic users profile, i was wondering if there is anyway of grabbing possibly the username held in that record and passing it to my Profile page, so that I can use that to populate my textboxes and labels , with data from my database using a stored procedure
any help much appreciated
boyindie
|
|
|
|
|
profilepage.aspx?username='username'
where 'username' should be replaced with the actual username (not quotes)
You can retrieve this value ont profilepage.aspx by :
Request["username"] (or Request("username") for visual basic)
|
|
|
|
|
you can use querystring or sessions
for querystring
string strParam="the value you want to pass";
string urlname=page_name.aspx?¶meter_name="+strParam;
do a response.redirect("urlname");
or Session["session_name"]="value to be passed";
in the profile page you can access that as Session["session_name"] or Request.Querystring["paarameter_name"].
Hope that helps!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Thanks all, will give that a bash, jus another quick question, is there a quick way of populating textboxes from a database, or do i have to write a massive procedure which will return all my values to place in textbox?
|
|
|
|
|
If you have the values in the database you will have to get them in order to populate anywhere..and
boyindie wrote: or do i have to write a massive procedure which will return all my values to place in textbox
Its just a select statement man... so it gotta be fine i guess!!!
Well i cant think of anything else..
May be as you keep on workinh ull get your answers!!1
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
i know its only a select statement lol
Just its 10 textboxes lot of effort lol
jus need to do it i suppose
cheers
|
|
|
|
|
Well ive done that for 45 textboxes heh!!
So cheer up!!
Ure bettta lol!!
Enjoy!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
another probably dumb question but how do i get it to reference the username in the row that I have selected, i was thinkin i would need another select statement, but all i need to do is to select the rows value for username.
How do go bout doin this?
i am an newb
|
|
|
|
|
boyindie wrote: how do i get it to reference the username in the row that I have selected
Probably what i understood, use
txtbox.Text=datagrid1.Rows["row_index"]["column_name"].value;
It will get you the username in that row...
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi all,
I want to browse multiple files at a single click. Is there any web user control for that. Could you please help me.
Thanks and Regards,
Hariharan C
|
|
|
|
|
|
Hi,
You are not getting my requirements. Dont think of that file upload control, where you can select only one file at a time. Please think of some user control where at one click, I can select more than one file.
Here in file upload control what we are doing is, we click on browse everytime for every file. I dont want that to happen. I think now you can understand my requirement.
Could you please solve my problem. please...
Thanks and Regards,
Hariharan C
|
|
|
|