Click here to Skip to main content
15,122,149 members

Comments by Mada Naga Sankar (Top 50 by date)

Mada Naga Sankar 19-Jul-18 6:39am View
   
Thanks. I have done this process. Now i am trying to call https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,id&maxResults=1&playlistId=<id>&key=<key>
api, but its not returning any videos. These videos are unlisted. How can i access this list?
Mada Naga Sankar 8-Jun-18 6:49am View
   
Code edit : return this.http.get("http://localhost:50507/api/employee", this.httpOptions).toPromise();
Mada Naga Sankar 6-Feb-18 11:56am View
   
Deleted
reverse is undefined
Mada Naga Sankar 26-Dec-17 3:45am View
   
HTML won't work for me. I need to use some 3rd party api.
Mada Naga Sankar 6-Sep-15 13:55pm View
   
I tried this, still value is null.
Mada Naga Sankar 21-Nov-14 5:56am View
   
This search works with each individual elements in A. i need to search with elements like
'ax','aab','az','ac','ad'..
'axab','axz'..
All possible combinations of elements in A. Is there any easy way for this.
Mada Naga Sankar 21-Nov-14 5:23am View
   
I have tried with for loops, taking each element in A, concatenating with all other elements in A and searching in B. but its taking more iterations. Is there any better approach.
Mada Naga Sankar 5-Dec-13 7:17am View
   
Yes changed it. Thanx.
Mada Naga Sankar 15-Nov-13 0:38am View
   
Found the problem

Link will be in mail. If they click link in outlook :
Email=DQ+H4/5oY5eITXpAHVNl2w9pyfBRHqALuqPardpGMDc

In gmail :
Email=DQ+H4/5oY5eITXpAHVNl2w9pyfBRHqALuqPardpGMDc=

From outlook it is removing '=' at end. Need to search for solution.
Mada Naga Sankar 14-Nov-13 8:20am View
   
Its already there.If u see my decrypt method, below line is replacing ' ' with '+'

cipherString = cipherString.Replace(' ', '+');
Mada Naga Sankar 14-Nov-13 7:57am View
   
HttpUtility.HtmlEncode is returning original text only, not encoded text. Is there anything to change?
Mada Naga Sankar 14-Nov-13 7:26am View
   
http://test.com/UpdatePassword.aspx?Email=SaA86OnEcyacFgD6aJagiRQcW/GnU+rz+5txW2sV+e4=

this is the url. In some systems its working, but not in some other
Mada Naga Sankar 14-Nov-13 7:25am View
   
http://test.com/UpdatePassword.aspx?Email=SaA86OnEcyacFgD6aJagiRQcW/GnU+rz+5txW2sV+e4=

this is the url. In some systems its working, but not in some other
Mada Naga Sankar 31-Oct-13 6:48am View
   
If Session is in aspx.cs file we can access like Session["name"], but method which is having session is in separate class file. There directly we cant use Session keyword, i should use HttpContext.Current.Session["name"]. I need to keep the method in separate class only. Is there any solution for this.
Mada Naga Sankar 31-Oct-13 6:24am View
   
There is no Session property in HttpContext.
Mada Naga Sankar 31-Oct-13 3:33am View
   
In login page :
Session["EmpData"] = dt;

After login master page will be excuted

In masterpage:
protected void Page_Load(object sender, EventArgs e)
{
populateProfile();
}

private void populateProfile()
{
DataTable dt = bl.getEmployeeTypes(0, Convert.ToInt32(GlobalMethods.getSessionValue("EmpData", "CompanyId")));

}

public static object getSessionValue(string sessionName, string valueName)
{
object value = null;
DataTable dt = new DataTable();
if (HttpContext.Current != null)
{
dt = (DataTable)HttpContext.Current.Session[sessionName];
if (dt.Rows.Count > 0)
{
value = dt.Rows[0][valueName];
}
}
return value;
}

Session is null in getSessionValue method
Mada Naga Sankar 31-Oct-13 2:42am View
   
Its working but HttpContext.Session is showing as null. I am unable to access session values which are assigned in Main thread. Is there anything to include.
Mada Naga Sankar 31-Oct-13 2:42am View
   
Its working but HttpContext.Session is showing as null. I am unable to access session values which are assigned in Main thread. Is there anything to include.
Mada Naga Sankar 30-Oct-13 2:07am View
   
Deleted
Situation is Total availability is 6, X customer selected 5 items in his cart Y customer selected 5 items in his cart at a time. X customer done his sales. Y have 5 items in his cart, but availability is 1 only. i need to handle this senario. Can you suggest solution for this.
Mada Naga Sankar 30-Oct-13 2:02am View
   
After sales done it will decrease the count.
Situation is Total availability is 6,
X customer selected 5 items in his cart
Y customer selected 5 items in his cart at a time.
X customer done his sales. Y have 5 items in his cart, but availability is 1 only. i need to handle this senario. Can you suggest solution for this.
Mada Naga Sankar 30-Oct-13 1:34am View
   
There is no click event in event list.
Mada Naga Sankar 12-Sep-13 3:02am View
   
Here just i uploaded rdl file to reportserver folder on live server and i am trying to access. Is it right?
Mada Naga Sankar 12-Sep-13 2:42am View
   
Its not working. Can you tell me any other process to deploy reports to server.
Mada Naga Sankar 12-Aug-13 2:15am View
   
If i click on clean also same error

Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Mada Naga Sankar 8-Aug-13 10:12am View
   
one only. Web application.
Mada Naga Sankar 8-Aug-13 10:07am View
   
I have seen it. 0 errors, 0 warnings.
Mada Naga Sankar 28-Jun-13 6:44am View
   
After executing below command its worked.

devenv/installvstemplates
Mada Naga Sankar 28-Jun-13 6:24am View
   
ultimate. Another system have same configuration, its working fine in that system.
Mada Naga Sankar 28-Jun-13 6:08am View
   
Windows 7
Mada Naga Sankar 28-Jun-13 4:13am View
   
It was installed all the components. No error while installing.
Mada Naga Sankar 28-Jun-13 2:44am View
   
Having same problem after reinstalling. any other solution?
Mada Naga Sankar 12-Jun-13 7:57am View
   
Its working with first one. Thanks.
Mada Naga Sankar 20-Mar-13 7:25am View
   
It should be in javascript function "GetCode".Because it has large data in gridview. For every selection it shouldn't do postback.
Mada Naga Sankar 5-Aug-11 7:59am View
   
im displaying in Tile view.. i need border for every item.. is it possible?
Mada Naga Sankar 5-Aug-11 7:56am View
   
No im doing in windows application..
Mada Naga Sankar 5-Aug-11 7:54am View
   
I didnt get any optin for this in ListView properties... is there any way to do this?
Mada Naga Sankar 19-May-11 23:55pm View
   
No error message is there.... while connecting it showing "cannot connect to server".. But im able to access database which is located at server.its not showing any services in configuration manager.All are installed well.
Mada Naga Sankar 13-May-11 0:57am View
   
In requirement paging should be there.. while scraping i need to get all the records.Is it possible?
Mada Naga Sankar 2-May-11 6:18am View
   
[DefaultProperty("Text")]
[ToolboxData("<{0}:GridViewWithCommands runat="server">")]
public class GridViewWithCommands : WebControl, INamingContainer
{
[Bindable(true)]
[Category("Appearance")]
[DefaultValue("")]
[Localizable(true)]
GridView gvData = new GridView();
LinkButton lnk = new LinkButton();
private string connectionString = "";

public string ConnectionString
{
get { return connectionString; }
set { connectionString = value; }
}

private string query = "";

public string Query
{
get { return query; }
set { query = value; }
}

private string test = "initial";

public string Test
{
get { return test; }
set { test = value; }
}

protected override void OnInit(EventArgs e)
{
SqlConnection con = new SqlConnection(connectionString);
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(query, con);
da.Fill(ds);

TemplateField tf = new TemplateField();
tf.HeaderTemplate = new GridViewExtension(ListItemType.Header, "To Delete");
tf.ItemTemplate = new GridViewExtension(ListItemType.Item, "To Delete");

gvData.Columns.Add(tf);
gvData.RowCommand += new GridViewCommandEventHandler(gvData_RowCommand);
gvData.DataSource = ds;
gvData.DataBind();
gvData.Columns.Insert(0, tf);
}

protected void gvData_RowCommand(object sender, GridViewCommandEventArgs e)
{
test = "ok";
}
protected override void RenderContents(HtmlTextWriter output)
{
gvData.RenderControl(output);
}
protected override void OnLoad(EventArgs e)
{

}
}

This is the test code i done. In this i taken one test variable and changing the value on rowcommand. In a webpage i am displaying the test property of this control for testing purpose. But its not changing the test value.means its not firing.Any modification is required?
Mada Naga Sankar 2-May-11 4:48am View
   
I used one ImageButton for delete option. it is in templatefield. i need to write code in custom control only. But its not firing rowcommand event whenever i clicked on imagebutton.is it possible to fire that event?
Mada Naga Sankar 15-Apr-11 5:45am View
   
can you tell how to do that?
Mada Naga Sankar 8-Apr-11 2:04am View
   
can you tell me how can i get and install that?
Mada Naga Sankar 6-Apr-11 4:46am View
   
Thank You...my problem solved......
Mada Naga Sankar 6-Apr-11 4:22am View
   
its giving same "file not found error".Image is in images folder of the project.I think Before this the image need to copy to the emulator?..if so, how to copy that image to emulator..can you tell?
I am not getting the path where it is storing....
Mada Naga Sankar 6-Apr-11 3:19am View
   
From local system folder i want take an image and i want to place it as header of that app. will it work?
Mada Naga Sankar 6-Apr-11 3:07am View
   
Deleted
I want deploy the image in emulator..and i want to give that path to picture box..
Mada Naga Sankar 5-Apr-11 0:00am View
   
can tou tell how to install it in Emulator?
Mada Naga Sankar 1-Apr-11 1:32am View
   
I am not able to get the download link there for those controls any other way is there?
Mada Naga Sankar 29-Mar-11 23:41pm View
   
yes
Mada Naga Sankar 29-Mar-11 9:22am View
   
I am developing a website with dnn.in top i am getting some space after removing print and minimize options for a module.I want to remove that sapce