hey guys,
i have developed a web application using vb.net and hosted to server since my application has buttons that work only on internet explorer i wanted to show an error when the users open the website on anyother browsers.. can anybody pls help me how to do that..
User Profile
Collapse
Profile Sidebar
Collapse
adarshyam
Last Activity: May 26 '10, 02:07 AM
Joined: Oct 4 '08
Location:
-
how to make application browser dependent
-
divya,
thr s a free tool available for conversion.. jus google vb.net to C# n u ll get tat. -
-
u mean dynamically?? i dunno class files n al but i ll give u wat i hav done to create textboxes according to users input ..
put this in button click as well as in page load to make it work..
Dim textdynamic6 As New ArrayList()
Dim TxtDyn6 As TextBox()
ReDim TxtDyn6(textbox 1.text)
For n As Integer = 0 To textbox1.text - 1
TxtDyn6(n) = New TextBox
...Leave a comment:
-
Read Excel cell contents, display in ASP.NET TextBoxes
Hi,
I am working on a web application in which user must be able to Open an Excel file from his computer and the contents must be displayed in TextBoxes in the form(each cells in excel to textboxes dynamically) not using gridview. somebody pls help me with code.. im trying this for the past 3days but no luck.. -
-
Retrieving excel columns to panel of textboxes
Hi, I am trying to import contents of excel spread sheet to the panel of textboxes (NOT datagrid). can anybody please tel me how to import the contents of each cell in the column into the textboxes dynamically as soon as the user opens the link of excel into the form. pls temme how to get the link into the form and how to retrieve the cells contents from that excel link and place into textboxes.
pls gimme some guidance .. i jus know... -
How to import contents of excel
Hi,
I am trying to import contents of excel spread sheet to the "dynamic textboxes" that i have created NOT using datagrid. can anybody please tel me how to import the contents into the textboxes that are created like this..
...Code:For i As Integer = 0 To numofper - 1 TxtDyn1(i) = New TextBox TxtDyn1(i).ID = "TxtDyn1_" & i -
thank u very much for ur reply.. i googled bot registering client script and got the solution.. m happy tat my application s completed n works well :) the code i used to go 1 step back in that page is
my 1st successful...Code:Page.RegisterStartupScript("goBack", "<script type=""text/javascript"" language=""javascript"">window.history.go(-1);</script>")Leave a comment:
-
please help me out with this im kinda lost.. this s the last step in my application.. how to register client script. . and what will be the code and should i place it in button in the same place i marked or somewhr else.. i used
in the else part after the msgbox but its not going one step back.. pls teme what should i try.....Code:Button13.Attributes.Add("OnClick", "javascript:history.go(-1)")Leave a comment:
-
Help Needed for Going Back to Previous page
friends,
i have a problem in going back to previous page in my application.. since i want that to happen in the if else statement i cannot incorporate JS. please help me .. i am trying this for very long tym.. the reason s i am using dynamic textboxes in multiview,..and i wanna validate them b4 changing view.. here s piece of my code..please teme whr can i place code to go to prev step of the step in the page and what ll be the code..... -
sorry, i have changed my mind and i wanna use compare validator for dynamically created textboxes.. Please forget about d prev question . it was really confusing me.. and do i have to create a compare validator in source ? if so what al properties should i add apart from that i have added in code behind. please help me.. and this s what i have done in page_load
...Code:For k As Integer = 0 To Textbox1.text - 1
Leave a comment:
-
Applying Conditions for buttons in Multiview
hi i am doin a program using multiview, i wanna put if else statement to check a condition in textboxes that i created dynamically. but what happenin is it displays the messagebox as well as changes, pls see my code for better understandin
currently im in 2nd view n tis s button click event to check condition.. if its numeric then it must goto next view, if not it must display d msg n stay in same view,. but it displays d msg n also... -
-
Button click to SAVE AS(dialog box)
hi,
can anyone please tell me how to make a button click to open the save as dialog box of the browser(Firefox )... ie., if we press "Ctrl+s", save as dialog box appears, i want that to happen in a button click in my form. i have javascript which works for IE but i need it in Firefox or if possible browser independent. the thing i wanna save is nothin but a few text and contents in textboxes along with textbox(if possible). please... -
Moving Panel positions in Multiviews, making visible in views
hi .. can u pls temme the procedure how to make a panel (containing dynamic controls) visible in a position in 1st view and change the same panel s position in the next view .. -
frinny,
can you please send me the link for the article u were talkin about..i couldnt find it in the forum.. i see webform_Init event.. is that the same as OnInit??Leave a comment:
-
sorry i forgot to use code tags and thanks for the guidance..Leave a comment:
-
ok i ve refined my question tis tym :)
i need to bring the values of textboxes from page1 to page2
page1
' i ve created textboxes using a button n put the textboxes in viewstate in pageload with same ID. i ve given the session of arraylist in the goto next page button
pageload
[code=vbnet]
If Session("weight s") = True Then
Dim textdynamicwt As...Leave a comment:
-
thank u v much for your reply.. i have one more doubt.. while recreating the controls in next page can i use same name to those controls? and should i keep the arraylist also in session and get back in next page? if so can u pls temme how..Leave a comment:
No activity results to display
Show More
Leave a comment: