|
Why not using a post method for sending the parameters.. Also, you can use session variable, or a cookie so that a common user wont be able to modify such details as such..
- jaypatel512
|
|
|
|
|
Hi,
How to Hide the Address bar and status bar, Asp.Net in Visual Studio 2008. I want the page to look like a windows form.
Thanks,
|
|
|
|
|
Are you trying to hide address bar and status bar in web browser??
Thanks,
Arindam D Tewary
|
|
|
|
|
|
|
You cannot do that from server side, as you dont have access to the clients browser settings.
A possible - nearly - solution would be to use javascript (and windows.open) like described in
this thread. But, like mentioned there, the
user can prohibit hiding bars in different browsers. And it will certainly not look like a windows form.
Another possibility is to use divs/panels - which look like windows forms - and make use of the ajaxcontroltoolkit (and the popup-extender controls etc.) to open/close these divs/panels. For
the user it "feels" like an seperate window/page then, even if it isnt. There are also some rich (and free) java ui kits out there, which provide these kind of "windows" functionality. The advantage is that
popup blockers dont block these "popups" because they arent popups..But it is certainly more difficult
to get dynamic content working in these szenarios.
Check componentone.com for an commercial example (window control in asp.net suite).
|
|
|
|
|
|
I guess this is a popup window opened using javascript this way. This was also described in the
link i gave you in the last post. You can use client-side scripting to modify the page appearance.
|
|
|
|
|
In javascript use the open method to create a new window that contains Sample.htm. The new window is 200 pixels by 400 pixels and has no status bar, no toolbar, no menu bar, or address field.Please check the following example:
window.open("Sample.htm",null,
"height=200,width=400,status=no,toolbar=no,menubar=no,location=no");
|
|
|
|
|
Ok, thanks, i solved my problem.
|
|
|
|
|
Hi koncuk,
I have similar problem. Can you please post the trick which solved your problem?
Thanks in adavance.
Please let me know the solution.
|
|
|
|
|
I ADDED THE template field in grid view using above link
but i am not able to read the data from the template field in a grid.
Thanks and regards,
Amit PAtel
|
|
|
|
|
Amit Patel1985 wrote: I ADDED THE template field in grid view using above link
I didnt find any link
Amit Patel1985 wrote: but i am not able to read the data from the template field in a grid.
How are you trying, in which method.
Can you put your code snippet?
|
|
|
|
|
You have missed the link
What does it mean ' am not able to read the data from the template field '? Did you get any error? exception ?? or anything ? Unless you provide any information how could people help you ??
Thanks,
Arindam D Tewary
|
|
|
|
|
we have a set of images to be displayed in order so v have put a table and used to specify image inspite of giving proper width height the image is being showed in a very large size that it is very difficult to view.
How to make it fit to our size?
I am giving my coding for reference if any error please tell me
<asp:tablerow id="TableRow9" horizontalalign="Center" verticalalign="Middle" runat="server">
<asp:tablecell id="TableCell10" horizontalalign="Center" verticalalign="Middle" runat="server">
<asp:image id="Image7" runat="server" imagealign="Middle">
|
|
|
|
|
If you want to fix the size of image then, there is a Height & Width properties in asp:Image control which you can set like
<asp:image id="Image7" runat="server" height="100px" widht="100px" imagealign="Middle">
Hope the help.
|
|
|
|
|
Inspite of specifying the height and width it is being seen in a large view that is the problem.
|
|
|
|
|
since u suggested i had tried <asp:image id="Image7" runat="server" imagealign="Middle" height="100px" width="100px">
after specifying this the image itself is invisible
|
|
|
|
|
thank you for your help It worked
|
|
|
|
|
give the height and width of Image control
|
|
|
|
|
Hi,
I have an editformtemplate in a grid. The edit form contains 2 radiobuttons along with other controls. During itemdatabound , i convert the values of this column in grid to yes/no. Now on itemdatabound , when the form goes into edit mode i want to get the yes/no value and after converting to true/false want to populate radiobuttons. I am having problem retrieving the Cell data from the grid in edit mode. The exception is:
Telerik.Web.UI.GridNotSupportedException: Item in insert mode does implement indexer only when the edit form is autogenerated at Telerik.Web.UI.GridEditFormInsertItem.get_Item(String columnUniqueName)
Code:
'ItemDatabound code snippet
Select Case e.Item.ItemType
Case Telerik.Web.UI.GridItemType.Item, GridItemType.AlternatingItem
Dim item As Telerik.Web.UI.GridDataItem = e.Item
'display Yes/No instead of flag 1,0
If CType(item("IsNewProduct").Text, Boolean) = False Then
item("IsNewProduct").Text = "NO"
Else
item("IsNewProduct").Text = "YES"
End If
Case GridItemType.EditFormItem 'inside template edit form
If e.Item.IsInEditMode Then
'populate controsl on template edit form
Dim item As Telerik.Web.UI.GridEditableItem = e.Item
Dim editFormItem As GridEditFormItem = CType(e.Item, GridEditFormItem)
'Below line throws error, i am trying to retrieve yes, no and chose the correct radiobutton accordingly
Dim IsNewProductValue As String = CType(item("IsNewProduct").Text, String)
'Exception is : Telerik.Web.UI.GridNotSupportedException: Item in insert mode does implement indexer only
' when the edit form is autogenerated at Telerik.Web.UI.GridEditFormInsertItem.get_Item(String columnUniqueName)
i have tried setting item as
Dim editFormItem As GridEditFormItem = CType(e.Item, GridEditFormItem)
Dim item As Telerik.Web.UI.GridEditableItem = Ctype(editFormItem.ParentItem,GridDataItem)
but this also didnt work
Please provide help in this regard. Thanks ...
Regards
|
|
|
|
|
|
|
GoAzure wrote: Learn Windows Azure at your own pace
How someone is going to learn anything about azure in 1 week, at their own pace ?
|
|
|
|
|
There are rumors that there will be additional Azure Boot Camps in the near future so if you need more time to learn then get another free token from a future Boot Camp.
|
|
|
|