|
Is there any reason you are doing screen scraping rather than getting the data behind the scenes? This sounds very phishy. Make sure you aren't violating the terms of use of whatever site you are bringing up in the iframe.
|
|
|
|
|
You can pass the textbox values in querystring in the IFrame or you can use
window.parent.document.getElementById("textboxID").value
|
|
|
|
|
Hi All ,
i hope every one has seen google calender to schedule appointment.
i want same thing in my web application i can buy this calender from Telerik and other provider.
but is it possible to make it free by using Google Api i have already tried googling it but with no result
can u guys provide me sample if u have done this befoe.
regards,
Amit
|
|
|
|
|
hi mates,
is it possible to have a calendar popup in a showmodaldialog?
i have tried the code but doesn't work. it will not fire the calendar button to show the calendar.
i call the showdialog.aspx in when i click a button in my parent.aspx
parent.aspx
<script type="text/javascript" language="JavaScript">
function ShowPopup(){
window.showModalDialog("~/page/showdialog.aspx", "Dialog",
"dialogWidth:100px;dialogHeight:130px;");
}
</script>
<asp:Button ID="btnPrint" TabIndex="23" runat="server" CssClass="Button" Width="100px"
Text="Print" OnClientClick="ShowPopup" > </asp:Button>
showdialog.aspx
<asp:TextBox ID="txtReportDate" runat="server" Width="67px">2010/07/20</asp:TextBox>
<img src="../images/SmallCalendar.gif" border="0"></td>
<td style="width: 48px"><a href="javascript:;" onclick="window.open('calendar.aspx?textbox=txtReportDate','cal','width=220,height=200,left=760,top=180')">
note: the calendar is working if it is not in a showmodaldialog.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
|
Why are you opening an intermediate page instead of just opening the calendar page in your modal call? I think your problem is that when you open the modal it isn't a window, its a dialog. So calls to things like window.open don't apply.
|
|
|
|
|
@Keith Barrow thanks but i didn't use ajax thing.
old school coding. hehehe..
@T M Gray
got it, i replace window.open from window.showmodaldialog.
thank you.
another thing, why is it my treeview not keeping the state when i navigate to another page. i search to google and i have this site
http://forums.asp.net/t/1022893.aspx[^]
but the problem is still wont keep the treeview. i dont use datasource but i use nodes.
<Nodes>
<asp:TreeNode Text="Main Menu" Value="MainMenu">
<asp:TreeNode Text="Analysis Order" Value="AnalysisOrder">
<asp:TreeNode Text="New Analysis" NavigateUrl ="~/page/FrmBunsekiOrder.aspx" Value="NewOrder">
</asp:TreeNode>
<asp:TreeNode Text="Analysis" NavigateUrl ="~/page/FrmBunsekiOrderSentaku.aspx" Value="ModOrder">
</asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="Certificate" NavigateUrl ="~/page/FrmSuishituShumeisho.aspx" Value="Certificate">
</asp:TreeNode>
<asp:TreeNode Text="Laboratory" NavigateUrl ="~/page/FrmBunsekiSearch.aspx" Value="LAS">
</asp:TreeNode>
</asp:TreeNode>
</Nodes>
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
i wanna implement a webservice dat will syncronise wit my gmail and also with my yahoo acount. pls caould any1help mewit the source codes
|
|
|
|
|
Abdulhafeezo wrote: i wanna implement a webservice dat will syncronise wit my gmail and also with my yahoo acount.
Joo may use RSS.
Abdulhafeezo wrote: pls caould any1help mewit the source codes
ShoDawg, hep bein found heyah.
|
|
|
|
|
D00D tha's fly maaan.
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
|
I hope you know enough ASP.Net so that when someone hands you the "codes" and it contains a backdoor that forwards all your e-mail somewhere else you can spot it before they get all your Benjamins (or more likely considering your writing style, your Washingtons).
|
|
|
|
|
Hello Guys, I am new in ASP.net and faced with few questions.
Could you please some one explain, why we need to have multiple Controller in ASP.Net MVC?
what is the advantages of having different controllers?
I know the purpose of home controller. I was looking at a project which developed by ASP.net MVC2. they have different controller such as Users, Store Management and the like?
the question is how come they use different controller?
|
|
|
|
|
You can as many controllers are you need. Using separate controllers allows for code to be separated logically, just as any good OOD would do. In this case methods that pertain to Users don't have to be placed in the Home controller. Otherwise you would end up with a monolithic, unwieldy class.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi..
I have created a rdlc in asp .net web application.When project runs,by clicking a button,report appears.But there is a problem.When only the
maximise button is clicked,that window will become maximise..I need that when page is loaded,it became in maximised form.Pls help me..There
is not any property such as" window state" for aspx page.Pls help me
|
|
|
|
|
You can use JavaScript to set it. You can do it like this:
<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>
|
|
|
|
|
Thanks a lot..It works...
|
|
|
|
|
|
|
Thanusree Duth wrote: Pls write this code in 3 tier architecture using bussiness layer and data access layer
Isn't that your job? We are here to help you with specific questions you may have.
|
|
|
|
|
Hello everybody,
I don't know if it is posible do with a listbox or other object but i need to choose the order of a list of address for create later a route of trucks.(not sort by asc or desc)
I want that a user can up o down a row of a listbox (or other object) for this election later save in a table.
I am working with asp.net and vb.net
I attach a picture for that you understand me better (my english is not good, sorry)
Thanks for your help
http://www.myleonberger.net/listbox.jpg
|
|
|
|
|
Well, first you need to define what is your sorting criteria. I'm not sure what your sorting criteria is from your post. Once you have that sorted out, the rest is easy. See Here[^] for some examples
|
|
|
|
|
If I understand you correctly, you want to be able to order the items in a list box manually, to arrange the route order. Strictly the list box isn't sorted, but ordered. I assume you want this done without postback until finished, AFAIK (but I could be wrong) there are no out-the-box .net controls to do this, I found this, hopefully it will be helpful:
http://www.velocityreviews.com/forums/t76756-set-display-order-of-listbox-control.html[^]
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
I don't think the listbox will maintain the rearranged order if you do it with javascript on the client side. What kind of database fields do you have behind it? Is there a column to hold the sort order?
You could figure out how may items you are dealing with and dynamically add hidden fields with numbers in their name MyHidden0, MyHidden1 and so on. Then with javascript in the onclientclick of your save button have a function that loops through the options in the listbox and assigns the values to the hidden field. Then you know that the item in MyHidden0 should have sort order 0 and MyHidden1 has a sort order of 1.
|
|
|
|
|
the first thanks for your ideas, even I am thinking about it because I don't know like up or down items of my listbox with 2 button (up, down) and that user see it.
The idea is can put order in listbox for later print a sheet of route for trucks, the first item will be the first customer for distribute and last item will be the last customer for distribute but doesn't exist a rule to order like asc or desc etc, it must be done by user like he wants.
the idea after listbox is ordered is save this information to table for later print.
Well, at the moment I will be happy to know like can up or down items of listbox with two buttons, later know like save it in array.
I imagine that for sample if the item 7 of my listbox I push 3 times my button of "up" it will be my future item 4 but the problem is that my old item 4 now will be item 5 and my old item 6 will be item 7, haha I am losing myself
Thanks for your ideas
|
|
|
|