|
Thank you. It is showing address bar and status bar both. I need in status bar only. What I have to do?
Balasubramanian K.
|
|
|
|
|
When you say address bar you mean where someone would type in the name of a website and go to it?
If you do mean this you cant hide the text but you can hide the entire address bar do you want to do that?
|
|
|
|
|
I dont want to hide the total address bar. Why I'am asking is, I am passing user id as query string. For security purpose, I want to hide the query string only or I want to make that the query string should not be changed. At present, I am unable to use Session state. I can use query string only. Thats' why I'm asking like this. Please give me some idea.....
Balasubramanian K.
|
|
|
|
|
Why cant you use session state
what you are doing is going the long way around not using session state.
There are some articles out there I think on hiding url variables but I would still recommend session state
|
|
|
|
|
The only way to do that is to put your entire application inside a dummy page with only one frame.
Just create a file like
server.com/myapp/default.html
put inside this file this code
<html>
<frameset>
<frame marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" src="default.aspx">
</frameset>
</html>
and that's it.
This way your address bar content will always remain the same.
|
|
|
|
|
Tnx, If I use frameset, I am getting the following msg in client side itself (Validation - IE 6 is not supported the frameset). What I have to do?
Balasubramanian K.
|
|
|
|
|
|
I have applied tree view in my application and i want that instead of + and - signs, "Hand" to come on Text and it collapses and expands on clicking text not +(plus) or -(minus) signs.
Anybody have an idea on this..?
|
|
|
|
|
try this
NewNode.SelectAction = TreeNodeSelectAction.Expand;
|
|
|
|
|
i have tried this but not happening..!!
|
|
|
|
|
Iam using infragistics grid .I want to change the Row selector to rightside ..How to change the position?pls any one help
|
|
|
|
|
I don't know that Grid Type but as it might be based on GridView you should be able to add a <templatefield>
Something like this
<asp:TemplateField ItemStyle-Width="60px">
<EditItemTemplate>
<asp:ImageButton runat="server" ID="imgCancel" CssClass="GridPlaatje" ImageUrl="~/Images/NewDesign/ImageCancel16x16.png" CommandName="CancelItem" AlternateText="Cancel" OnCommand="Grid_OnCommand"/><asp:ImageButton runat="server" ID="imgSafe" CssClass="GridPlaatje" ImageUrl="~/Images/NewDesign/Accept16x16.png" CommandName="SafeItem" AlternateText="Save" OnCommand="Grid_OnCommand" />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton runat="server" ID="imgAnnul" CssClass="GridPlaatje" ImageUrl="~/Images/NewDesign/trashcan.png" CommandName="AnnulGrid" AlternateText="Delete" OnCommand="Grid_OnCommand" /><asp:ImageButton runat="server" ID="imgEdit" CssClass="GridPlaatje" ImageUrl="~/Images/NewDesign/pencil.png" CommandName="EditGrid" AlternateText="Edit" OnCommand="Grid_OnCommand" />
</ItemTemplate>
</asp:TemplateField>
|
|
|
|
|
i have a excel files in store data. some cells are fill up and some cells are blank. when excel to import grid view and save data base. that time if cell is blank then store the in database but i want to store null value.
|
|
|
|
|
|
hi
i have a popup calendar of java-script which is working fine in simple aspx page but not working when i am using it with master pages
it is giving error of null object
plzzz help me, if any one have code then send it to me
thanks in advance
shaleen
modified on Friday, July 11, 2008 6:28 AM
|
|
|
|
|
Hi, is there anybody can tell me how to convert the doc format to tiff format in asp.net?
|
|
|
|
|
Have you tried a google search to turn up anything useful?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i used this code, but not received any SMS
Pealse any body solve my problem
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace SmsTest
{
/// <summary>
/// Summary description for WebForm1.
/// </summary>
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, System.EventArgs e)
{
txtCountryCode.Enabled = false;
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
}
#endregion
protected void Send_Click(object sender, System.EventArgs e)
{
try
{
SmsTest.net.webservicex.www.SendSMS smsIndia= new SmsTest.net.webservicex.www.SendSMS();
SmsTest.com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld();
if(rdoType.SelectedValue == "1")
smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text);
else
smsWorld.sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text);
lblMessage.Visible = true;
lblMessage.Text="Message Send Succesfully";
}
catch(Exception ex)
{
lblMessage.Visible = true;
lblMessage.Text="Error in Sending message"+ex.ToString();
}
}
protected void rdoType_SelectedIndexChanged(object sender, System.EventArgs e)
{
if(rdoType.SelectedValue =="1")
txtCountryCode.Enabled = false;
else
txtCountryCode.Enabled = false;
}
}
}
|
|
|
|
|
Hi
I have the following code:
for (int x = 0; x < GridView1.Rows.Count; x++)
{
dropdown.SelectedItem.Selected = false;
Session["default"] = GridView1.DataKeys[x].Values[2].ToString().Trim();
string default = Session["default"].ToString().Trim();
dropdown.Items.FindByValue(default).Selected = true;
}
What it should do is find the value in the session default and then set the dropdown to that value.
However it only seems to be doing it to the last row instead of all of them
why would this be?
cheers!
|
|
|
|
|
.netman wrote: doing it to the last row instead of all of them
.netman wrote: dropdown.SelectedItem.Selected = false;
Session["default"] = GridView1.DataKeys[x].Values[2].ToString().Trim();
string default = Session["default"].ToString().Trim();
dropdown.Items.FindByValue(default).Selected = true;
dropdown.SelectedValue=GridView1.DataKeys[x].Values[2].ToString().Trim();
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Nope thats not working either.
Basically Ive got a gridview with say 9 rows in
each row has an order of what it would be so the order column should look like this
order
1
2
3
4
5
6
7
8
9
but its not, after adding your line of code it is now displaying 1 in all the dropdowns except the last one which is 9.
Why would this be?
thnaks!
|
|
|
|
|
Got it
You must find the dropdown to set the value.
Hop this will help!
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Excellent that was exactly it, thankyou!!
|
|
|
|
|
i receive this error what is this error
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request failed.
Source Error:
[No relevant source lines]
Source File: App_Web_1lwzeoop.0.cs Line: 0
Stack Trace:
[SecurityException: Request failed.]
_Default.Button1_Click(Object sender, EventArgs e) +0
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_1lwzeoop.0.cs
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
|
|
|
|
Generally, this error is thrown when the trust level of an applicaiton is set to medium.
You may use web.config to edit the trust parameter (make it "Full") and then everything should be working.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|